Layer 224
constructor
channelParticipantSelf#4f607bef flags:# via_request:flags.0?true user_id:long inviter_id:long date:int subscription_until_date:flags.1?int = 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.

Gogram Example

// Creating ChannelParticipantSelf constructor
obj := &tg.ChannelParticipantSelf{
    UserId: int64(1234567890),
    InviterId: int64(1234567890),
    Date: 42,

    // Optional fields:
    // ViaRequest: true,
    // SubscriptionUntilDate: 42,
}