ChatJoinRequest
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
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
at line 29
Chat
getChat()
Chat to which the request was sent.
at line 37
User
getFrom()
User that sent the join request.
at line 45
int
getDate()
Date the request was sent in Unix time.
at line 53
string|null
getBio()
Optional. Bio of the user.
at line 61
ChatInviteLink|null
getInviteLink()
Optional. Chat invite link that was used by the user to send the join request.