class Tourmaline::ChatPermissions

Included Modules

Defined in:

tourmaline/models/chat_permissions.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(can_send_messages : Bool = true, can_send_audios : Bool = true, can_send_documents : Bool = true, can_send_photos : Bool = true, can_send_videos : Bool = true, can_send_video_notes : Bool = true, can_send_voice_notes : 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_audios : Bool #

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

[View source]
def can_send_documents : Bool #

[View source]
def can_send_documents=(can_send_documents : 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_photos : Bool #

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

[View source]
def can_send_polls : Bool #

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

[View source]
def can_send_video_notes : Bool #

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

[View source]
def can_send_videos : Bool #

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

[View source]
def can_send_voice_notes : Bool #

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

[View source]