Link Search Menu Expand Document

Constructor: channelParticipantSelf

Back to constructors index

Myself

Attributes:

NameTypeRequiredDescription
via_requestBoolOptionalWhether I joined upon specific approval of an admin
user_idlongYesUser ID
inviter_idlongYesUser that invited me to the channel/supergroup
dateintYesWhen did I join the channel/supergroup

Type: ChannelParticipant

Example:

$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'via_request' => Bool, 'user_id' => long, 'inviter_id' => long, 'date' => int];