class ChatJoinRequest

Represents a join request sent to a chat.

Methods

__construct(Chat $chat, User $from, int $date, string|null $bio = null, ChatInviteLink|null $invite_link = null)

No description

getChat()

Chat to which the request was sent.

getFrom()

User that sent the join request.

int
getDate()

Date the request was sent in Unix time.

string|null
getBio()

Optional. Bio of the user.

ChatInviteLink|null
getInviteLink()

Optional. Chat invite link that was used by the user to send the join request.

Details

at line 17
__construct(Chat $chat, User $from, int $date, string|null $bio = null, ChatInviteLink|null $invite_link = null)

No description

Parameters

Chat $chat
User $from
int $date
string|null $bio
ChatInviteLink|null $invite_link

at line 29
Chat getChat()

Chat to which the request was sent.

Return Value

Chat

at line 37
User getFrom()

User that sent the join request.

Return Value

User

at line 45
int getDate()

Date the request was sent in Unix time.

Return Value

int

at line 53
string|null getBio()

Optional. Bio of the user.

Return Value

string|null

Optional. Chat invite link that was used by the user to send the join request.

Return Value

ChatInviteLink|null