Layer 224
ChannelParticipantObj
Channel/supergroup participant
constructor
channelParticipant#cb397619 flags:# user_id:long date:int subscription_until_date:flags.0?int = ChannelParticipant;
Parameters
| Name | Type | Description |
|---|---|---|
| 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 ChannelParticipantObj constructor obj := &tg.ChannelParticipantObj{ UserId: int64(1234567890), Date: 42, // Optional fields: // SubscriptionUntilDate: 42, }