Layer 228
CommunityFull
constructor
communityFull#cbb7a507 flags:# id:long about:string chat_photo:Photo linked_peers:Vector<CommunityPeer> admins_count:flags.1?int kicked_count:flags.2?int peer_link_requests_pending:flags.0?int = ChatFull;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | |
| About | string | |
| ChatPhoto | Photo | |
| LinkedPeers | Vector<CommunityPeer> | |
| AdminsCount | flags.1?int | |
| KickedCount | flags.2?int | |
| PeerLinkRequestsPending | flags.0?int |
Returns
ChatFullGogram Example
// Creating CommunityFull constructor obj := &tg.CommunityFull{ Id: int64(1234567890), About: "Example description", ChatPhoto: &tg.PhotoObj{}, LinkedPeers: []tg.CommunityPeer{&tg.CommunityPeerObj{}}, // Optional fields: // AdminsCount: 20, // KickedCount: 20, // PeerLinkRequestsPending: 42, }