Interface ChatJoinRequest

Represents a join request sent to a chat.

interface ChatJoinRequest {
    bio?: string;
    chat: Telegram.Chat.SupergroupChat | Telegram.Chat.ChannelChat;
    date: number;
    from: User;
    invite_link?: ChatInviteLink;
    user_chat_id: number;
}

Properties

bio?: string

Bio of the user.

Chat to which the request was sent

date: number

Date the request was sent in Unix time

from: User

User that sent the join request

invite_link?: ChatInviteLink

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

user_chat_id: number

Identifier of a private chat with the user who sent the join request. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.