messages.getFullChat
Get full info about a basic group.
func (c *Client) MessagesGetFullChat(ctx context.Context, chatid int64) (*MessagesChatFull, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesGetFullChat(ctx, chatid)
if err != nil {
return err
}
_ = res // *MessagesChatFull
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ChatID | int64 | yes | Basic group ID. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ID_INVALID | The provided chat id is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
messages.getFullChat#aeb00b34