ChannelParticipantSelf

class pyrogram.raw.types.ChannelParticipantSelf

Myself

Constructor of ChannelParticipant.

Details:
  • Layer: 223

  • ID: A9478A1A

Parameters:
  • user_id (int 64-bit) – User ID

  • inviter_id (int 64-bit) – User that invited me to the channel/supergroup

  • date (int 32-bit) – When did I join the channel/supergroup

  • via_request (bool, optional) – Whether I joined upon specific approval of an admin

  • subscription_until_date (int 32-bit, optional) – If set, contains the expiration date of the current Telegram Star subscription period » for the specified participant.

  • rank (str, optional) – N/A

TL Schema

channelParticipantSelf#a9478a1a
flags:#
via_request:flags.0?true
user_id:long
inviter_id:long
date:int
subscription_until_date:flags.1?int
rank:flags.2?string

= ChannelParticipant

Parameter Tree

ChannelParticipantSelf
├── via_requesttrue (optional)
├── user_idlong
├── inviter_idlong
├── dateint
├── subscription_until_dateint (optional)
└── rankstring (optional)

Example

ChannelParticipantSelf(
    user_id=0,
    inviter_id=0,
    date=0,
)