UpdateBotChatInviteRequester
- class pyrogram.raw.types.UpdateBotChatInviteRequester
Someone has requested to join a chat or channel (bots only, users will receive an updatePendingJoinRequests, instead)
Constructor of
Update.- Details:
Layer:
223ID:
11DFA986
- Parameters:
peer (
Peer) – The chat or channel in questiondate (
int32-bit) – When was the join request » madeuser_id (
int64-bit) – The user ID that is asking to join the chat or channelabout (
str) – Bio of the userinvite (
ExportedChatInvite) – Chat invite link that was used by the user to send the join request »qts (
int32-bit) – QTS event sequence identifier
TL Schema
updateBotChatInviteRequester#11dfa986
peer:Peer
date:int
user_id:long
about:string
invite:ExportedChatInvite
qts:int
= Update
Parameter Tree
UpdateBotChatInviteRequester
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── date →
int├── user_id →
long├── about →
string├── invite →
ExportedChatInvite│ ├──
ChatInviteExported│ │ ├── revoked →
true (optional)│ │ ├── permanent →
true (optional)│ │ ├── request_needed →
true (optional)│ │ ├── link →
string│ │ ├── admin_id →
long│ │ ├── date →
int│ │ ├── start_date →
int (optional)│ │ ├── expire_date →
int (optional)│ │ ├── usage_limit →
int (optional)│ │ ├── usage →
int (optional)│ │ ├── requested →
int (optional)│ │ ├── subscription_expired →
int (optional)│ │ ├── title →
string (optional)│ │ └── subscription_pricing →
StarsSubscriptionPricing (optional)│ │ └──
StarsSubscriptionPricing│ │ ├── period →
int│ │ └── amount →
long└── qts →
intExample
UpdateBotChatInviteRequester(
peer=PeerUser(user_id=0),
date=0,
user_id=0,
about="text",
invite=ChatInviteExported(
link="text",
admin_id=0,
date=0
),
qts=0,
)