class Tourmaline::ChatPermissions

Included Modules

Defined in:

tourmaline/models/chat_permissions.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(can_send_messages : Bool = true, can_send_media_messages : Bool = true, can_send_polls : Bool = true, can_send_other_messages : Bool = true, can_add_web_page_previews : Bool = true, can_change_info : Bool = true, can_invite_users : Bool = true, can_pin_messages : Bool = true, can_manage_topics : Bool = true) #

[View source]

Instance Method Detail

def can_add_web_page_previews : Bool #

[View source]
def can_add_web_page_previews=(can_add_web_page_previews : Bool) #

[View source]
def can_change_info : Bool #

[View source]
def can_change_info=(can_change_info : Bool) #

[View source]
def can_invite_users : Bool #

[View source]
def can_invite_users=(can_invite_users : Bool) #

[View source]
def can_manage_topics : Bool #

[View source]
def can_manage_topics=(can_manage_topics : Bool) #

[View source]
def can_pin_messages : Bool #

[View source]
def can_pin_messages=(can_pin_messages : Bool) #

[View source]
def can_send_media_messages : Bool #

[View source]
def can_send_media_messages=(can_send_media_messages : Bool) #

[View source]
def can_send_messages : Bool #

[View source]
def can_send_messages=(can_send_messages : Bool) #

[View source]
def can_send_other_messages : Bool #

[View source]
def can_send_other_messages=(can_send_other_messages : Bool) #

[View source]
def can_send_polls : Bool #

[View source]
def can_send_polls=(can_send_polls : Bool) #

[View source]