Layer 227
constructor
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;

Parameters

Name Type Description
ViaRequest flags .0? true Whether I joined upon specific approval of an admin
UserId long User ID
InviterId long User that invited me to the channel/supergroup
Date int When did I join the channel/supergroup
SubscriptionUntilDate flags .1? int If set, contains the expiration date of the current Telegram Star subscription period for the specified participant.
Rank flags .2? string The participant's tag.

Gogram Example

// Creating ChannelParticipantSelf constructor
obj := &tg.ChannelParticipantSelf{
    ViaRequest: nil,
    UserId: int64(1234567890),
    InviterId: int64(1234567890),
    Date: 42,
    SubscriptionUntilDate: nil,
    Rank: "Hello, World!",
}