Layer 220
ChannelParticipantSelf
Myself
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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. |
Returns
ChannelParticipantGogram Example
// Creating ChannelParticipantSelf constructor obj := &tg.ChannelParticipantSelf{ UserId: int64(0), InviterId: int64(0), Date: 0, // Optional fields: // ViaRequest: true, // SubscriptionUntilDate: 0, }