import { type ChatJoinRequest } from "https://deno.land/x/grammy@v1.20.2/types.ts";
Represents a join request sent to a chat.
Properties
chat: Chat.SupergroupChat | Chat.ChannelChat
Chat to which the request was sent
from: User
User that sent the join request
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.
optional
invite_link: ChatInviteLinkChat invite link that was used by the user to send the join request