Layer 220
ChannelParticipant
Channel/supergroup participant
constructor
channelParticipant#cb397619 flags:# user_id:long date:int subscription_until_date:flags.0?int = ChannelParticipant;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| UserId | long | Participant user ID |
| Date | int | Date joined |
| SubscriptionUntilDate | flags.0?int | If set, contains the expiration date of the current Telegram Star subscription period for the specified participant. |
Returns
ChannelParticipantGogram Example
// Creating ChannelParticipant constructor obj := &tg.ChannelParticipant{ UserId: int64(0), Date: 0, // Optional fields: // SubscriptionUntilDate: 0, }