Available types

ChatJoinRequest

Represents a join request sent to a chat.

fields

fieldtyperequireddescription
chatChatrequiredChat to which the request was sent
fromUserrequiredUser that sent the join request
user_chat_idnumberrequiredIdentifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. 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.
datenumberrequiredDate the request was sent in Unix time
biostringoptionalOptional. Bio of the user
invite_linkChatInviteLinkoptionalOptional. Chat invite link that was used by the user to send the join request
query_idstringoptionalOptional. Identifier of the join request query; for bots assigned to process join request only. If present, then the bot must call sendChatJoinRequestWebApp or directly call answerChatJoinRequestQuery within 10 seconds.

import

types.ts
import type { ChatJoinRequest } from "@yaebal/types";

used by

types