class ChatMemberBanned implements ChatMemberInterface

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

Methods

__construct(string $status, User $user, int $until_date)

No description

string
getStatus()

The member's status in the chat, always “kicked”.

getUser()

Information about the user.

int
getUntilDate()

Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever.

Details

at line 15
__construct(string $status, User $user, int $until_date)

No description

Parameters

string $status
User $user
int $until_date

at line 25
string getStatus()

The member's status in the chat, always “kicked”.

Return Value

string

at line 33
User getUser()

Information about the user.

Return Value

User

at line 41
int getUntilDate()

Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever.

Return Value

int