class Tourmaline::ChatMemberRestricted

Defined in:

tourmaline/models/chat_member_restricted.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::ChatMemberMember

kick(until_date = nil) kick, promote(**permissions) promote, restrict(permissions, until_date = nil) restrict, status : String status, unban unban, user : User user

Constructor methods inherited from class Tourmaline::ChatMemberMember

new(pull : JSON::PullParser) new

Class methods inherited from class Tourmaline::ChatMemberMember

from_user(user) from_user

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]

Instance Method Detail

def can_add_web_page_previews? : Bool #

[View source]
def can_change_info? : Bool #

[View source]
def can_invite_users? : Bool #

[View source]
def can_manage_topics? : Bool #

[View source]
def can_pin_messages? : Bool #

[View source]
def can_send_media_messages? : Bool #

[View source]
def can_send_messages? : Bool #

[View source]
def can_send_other_messages? : Bool #

[View source]
def can_send_polls? : Bool #

[View source]
def custom_title : String | Nil #

[View source]
def member? : Bool #

[View source]