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:
227ID:
7CB34D79
- 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 identifierquery_id (
int64-bit, optional) – N/A
TL Schema
updateBotChatInviteRequester#7cb34d79
flags:#
peer:Peer
date:int
user_id:long
about:string
invite:ExportedChatInvite
qts:int
query_id:flags.0?long
= 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 →
int└── query_id →
long (optional)Example
UpdateBotChatInviteRequester(
peer=PeerUser(user_id=0),
date=0,
user_id=0,
about="text",
invite=ChatInviteExported(
link="text",
admin_id=0,
date=0
),
qts=0,
)