Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.28 KB

ChatJoinRequest.md

File metadata and controls

28 lines (22 loc) · 1.28 KB

TelegramBotOpenapi::ChatJoinRequest

Properties

Name Type Description Notes
chat Chat Chat to which the request was sent
from User User that sent the join request
user_chat_id Integer Identifier 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.
date Integer Date the request was sent in Unix time
bio String Optional. Bio of the user. [optional]
invite_link ChatInviteLink Optional. Chat invite link that was used by the user to send the join request [optional]

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::ChatJoinRequest.new(
  chat: null,
  from: null,
  user_chat_id: null,
  date: null,
  bio: null,
  invite_link: null
)