class
TD::ChatPermissions
- TD::ChatPermissions
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/chat_permissions.crConstructors
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
- .new(can_send_messages : Bool = false, can_send_media_messages : Bool = false, can_send_polls : Bool = false, can_send_other_messages : Bool = false, can_add_web_page_previews : Bool = false, can_change_info : Bool = false, can_invite_users : Bool = false, can_pin_messages : Bool = false)
Instance Method Summary
- #can_add_web_page_previews : Bool
- #can_add_web_page_previews=(can_add_web_page_previews : Bool)
- #can_change_info : Bool
- #can_change_info=(can_change_info : Bool)
- #can_invite_users : Bool
- #can_invite_users=(can_invite_users : Bool)
- #can_pin_messages : Bool
- #can_pin_messages=(can_pin_messages : Bool)
- #can_send_media_messages : Bool
- #can_send_media_messages=(can_send_media_messages : Bool)
- #can_send_messages : Bool
- #can_send_messages=(can_send_messages : Bool)
- #can_send_other_messages : Bool
- #can_send_other_messages=(can_send_other_messages : Bool)
- #can_send_polls : Bool
- #can_send_polls=(can_send_polls : 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(can_send_messages : Bool = false, can_send_media_messages : Bool = false, can_send_polls : Bool = false, can_send_other_messages : Bool = false, can_add_web_page_previews : Bool = false, can_change_info : Bool = false, can_invite_users : Bool = false, can_pin_messages : Bool = false)
#