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: 227

  • ID: 7CB34D79

Parameters:
  • peer (Peer) – The chat or channel in question

  • date (int 32-bit) – When was the join request » made

  • user_id (int 64-bit) – The user ID that is asking to join the chat or channel

  • about (str) – Bio of the user

  • invite (ExportedChatInvite) – Chat invite link that was used by the user to send the join request »

  • qts (int 32-bit) – QTS event sequence identifier

  • query_id (int 64-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,
)