struct

Telegram::APIMethod

Inherits JSON::Serializable < Struct < Value < Object

Represents an API method

Constructors

new(name : String, href : String, description : Array(String), returns : Array(String), fields : Array(Field) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description
Source
description=(description : Array(String))
Source
fields
Source
fields=(fields : Array(Field) | Nil)
Source
href
Source
href=(href : String)
Source
name
Source
name=(name : String)
Source
returns
Source
returns=(returns : Array(String))
Source