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

  • ID: 11DFA986

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

TL Schema

updateBotChatInviteRequester#11dfa986
peer:Peer
date:int
user_id:long
about:string
invite:ExportedChatInvite
qts:int

= Update

Parameter Tree

UpdateBotChatInviteRequester
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── dateint
├── user_idlong
├── aboutstring
├── inviteExportedChatInvite
│ ├── ChatInviteExported
│ │ ├── revokedtrue (optional)
│ │ ├── permanenttrue (optional)
│ │ ├── request_neededtrue (optional)
│ │ ├── linkstring
│ │ ├── admin_idlong
│ │ ├── dateint
│ │ ├── start_dateint (optional)
│ │ ├── expire_dateint (optional)
│ │ ├── usage_limitint (optional)
│ │ ├── usageint (optional)
│ │ ├── requestedint (optional)
│ │ ├── subscription_expiredint (optional)
│ │ ├── titlestring (optional)
│ │ └── subscription_pricingStarsSubscriptionPricing (optional)
│ │ └── StarsSubscriptionPricing
│ │ ├── periodint
│ │ └── amountlong
└── qtsint

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,
)