class
TD::UserType::Bot
- TD::UserType::Bot
- TD::UserType
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/user_type/bot.crConstructors
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
- .new(inline_query_placeholder : String, can_join_groups : Bool = false, can_read_all_group_messages : Bool = false, is_inline : Bool = false, need_location : Bool = false)
Instance Method Summary
- #can_join_groups : Bool
- #can_join_groups=(can_join_groups : Bool)
- #can_read_all_group_messages : Bool
- #can_read_all_group_messages=(can_read_all_group_messages : Bool)
- #inline_query_placeholder : String
- #inline_query_placeholder=(inline_query_placeholder : String)
- #is_inline : Bool
- #is_inline=(is_inline : Bool)
- #need_location : Bool
- #need_location=(need_location : Bool)
- #object_type : String
- #object_type=(object_type : String)
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(inline_query_placeholder : String, can_join_groups : Bool = false, can_read_all_group_messages : Bool = false, is_inline : Bool = false, need_location : Bool = false)
#