UpdateChatParticipantRank

class pyrogram.raw.types.UpdateChatParticipantRank

Telegram API type.

Constructor of Update.

Details:
  • Layer: 223

  • ID: BD8367B9

Parameters:
  • chat_id (int 64-bit) – N/A

  • user_id (int 64-bit) – N/A

  • rank (str) – N/A

  • version (int 32-bit) – N/A

TL Schema

updateChatParticipantRank#bd8367b9
chat_id:long
user_id:long
rank:string
version:int

= Update

Parameter Tree

UpdateChatParticipantRank
├── chat_idlong
├── user_idlong
├── rankstring
└── versionint

Example

UpdateChatParticipantRank(
    chat_id=0,
    user_id=0,
    rank="text",
    version=0,
)