Layer 227
PhoneGetGroupCallChainBlocks
Fetch blocks from a conference call subchain; handle the returned update Group Call Chain Blocks as specified here.
method
Users
phone.getGroupCallChainBlocks#ee9f88a6 call:InputGroupCall sub_chain_id:int offset:int limit:int = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Call | InputGroupCall | Conference whose subchain blocks should be fetched |
| SubChainId | int | 0 for the main state blockchain, 1 for the call verification subchain |
| Offset | int | Fetch blocks starting from this height; pass -1 to fetch the latest block |
| Limit | int | Maximum number of blocks to return in this call, see pagination, max 100. |
Returns
UpdatesGogram Example
// PhoneGetGroupCallChainBlocks - positional arguments result, err := client.PhoneGetGroupCallChainBlocks(&tg.InputGroupCall{}, 42, 42, 42) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |