Layer 227
ChannelParticipantObj
Channel/supergroup participant
constructor
channelParticipant#1bd54456 flags:# user_id:long date:int subscription_until_date:flags.0?int rank:flags.2?string = 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. |
| Rank | flags .2? string | The participant's tag. |
Returns
ChannelParticipantGogram Example
// Creating ChannelParticipantObj constructor obj := &tg.ChannelParticipantObj{ UserId: int64(1234567890), Date: 42, SubscriptionUntilDate: nil, Rank: "Hello, World!", }