ChannelParticipant

class pyrogram.raw.base.ChannelParticipant

Channel participant

Constructors:

This base type has 6 constructors available.

ChannelParticipant

Channel/supergroup participant

ChannelParticipantAdmin

Admin

ChannelParticipantBanned

Banned/kicked user

ChannelParticipantCreator

Channel/supergroup creator

ChannelParticipantLeft

A participant that left the channel/supergroup

ChannelParticipantSelf

Myself

TL Schema

channelParticipant#1bd54456
flags:#
user_id:long
date:int
subscription_until_date:flags.0?int
rank:flags.2?string

= ChannelParticipant

Parameter Tree

ChannelParticipant
├── user_idlong
├── dateint
├── subscription_until_dateint (optional)
└── rankstring (optional)

Example

ChannelParticipant(
    user_id=0,
    date=0,
    subscription_until_date=0,
    rank="text",
)