phone.getGroupCallChainBlocks
Fetch the blocks of a conference blockchain ».
func (c *Client) PhoneGetGroupCallChainBlocks(ctx context.Context, request *PhoneGetGroupCallChainBlocksRequest) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneGetGroupCallChainBlocks(ctx, &tg.PhoneGetGroupCallChainBlocksRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Call | InputGroupCallClass | yes | The conference. |
SubChainID | int | yes | Subchain ID. |
Offset | int | yes | Offset for pagination. |
Limit | int | yes | Maximum number of blocks to return in this call, see pagination |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.getGroupCallChainBlocks#ee9f88a6