Layer 220
ChannelsChannelParticipant
Represents a channel participant
constructor
channels.channelParticipant#dfb80317 participant:ChannelParticipant chats:Vector<Chat> users:Vector<User> = channels.ChannelParticipant;
Parameters
| Name | Type | Description |
|---|---|---|
| Participant | ChannelParticipant | The channel participant |
| Chats | Vector<Chat> | Mentioned chats |
| Users | Vector<User> | Users |
Returns
channels.ChannelParticipantGogram Example
// Creating ChannelsChannelParticipant constructor obj := &tg.ChannelsChannelParticipant{ Participant: &tg.ChannelParticipant{}, Chats: []tg.Chat{&tg.Chat{}}, Users: []tg.User{&tg.User{}}, }