class Tourmaline::ChatAdministratorRights

Included Modules

Defined in:

tourmaline/models/chat_administrator_rights.cr

Constructors

Instance Method Summary

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(anonymous : Bool = false, can_manage_chat : Bool = false, can_delete_messages : Bool = false, can_manage_video_chats : Bool = false, can_restrict_members : Bool = false, can_promote_members : Bool = false, can_change_info : Bool = false, can_invite_users : Bool = false, can_post_messages : Bool = false, can_edit_messages : Bool = false, can_pin_messages : Bool = false, can_manage_topics : Bool = false) #

[View source]

Instance Method Detail

def anonymous? : Bool #

[View source]
def can_change_info? : Bool #

[View source]
def can_delete_messages? : Bool #

[View source]
def can_edit_messages? : Bool #

[View source]
def can_invite_users? : Bool #

[View source]
def can_manage_chat? : Bool #

[View source]
def can_manage_topics? : Bool #

[View source]
def can_manage_video_chats? : Bool #

[View source]
def can_pin_messages? : Bool #

[View source]
def can_post_messages? : Bool #

[View source]
def can_promote_members? : Bool #

[View source]
def can_restrict_members? : Bool #

[View source]