class
TD::CallState::Ready
- TD::CallState::Ready
- TD::CallState
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/call_state/ready.crConstructors
- .new(protocol : TD::CallProtocol, servers : Array(TD::CallServer), config : String, encryption_key : String, emojis : Array(String), allow_p2p : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #allow_p2p : Bool
- #allow_p2p=(allow_p2p : Bool)
- #config : String
- #config=(config : String)
- #emojis : Array(String)
- #emojis=(emojis : Array(String))
- #encryption_key : String
- #encryption_key=(encryption_key : String)
- #object_type : String
- #object_type=(object_type : String)
- #protocol : TD::CallProtocol
- #protocol=(protocol : TD::CallProtocol)
- #servers : Array(TD::CallServer)
- #servers=(servers : Array(TD::CallServer))
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(protocol : TD::CallProtocol, servers : Array(TD::CallServer), config : String, encryption_key : String, emojis : Array(String), allow_p2p : Bool = false)
#