class Tourmaline::ChatMemberBanned

Overview

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(status : String, user : Tourmaline::User, until_date : Time) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def status : String #

The member's status in the chat, always "kicked"


[View source]
def status=(status : String) #

The member's status in the chat, always "kicked"


[View source]
def until_date : Time #

[View source]
def until_date=(until_date : Time) #

[View source]
def user : Tourmaline::User #

Information about the user


[View source]
def user=(user : Tourmaline::User) #

Information about the user


[View source]