CRMchat APIBeta
Telegram APIPhone

phone.getGroupCallChainBlocks

POST
/workspaces/{workspaceId}/telegram-accounts/{accountId}/call/phone.getGroupCallChainBlocks

Fetch blocks from a conference call subchain »; handle the returned RawUpdateGroupCallChainBlocks as specified here ». If the number of blocks returned by any call to this method is equal to limit, this method must be re-invoked immediately after processing the returned RawUpdateGroupCallChainBlocks, with the newly committed offset (usually equal to the returned next_offset).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

workspaceId*string

Workspace ID

accountId*string

Telegram account ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

params*

Fetch blocks from a conference call subchain »; handle the returned RawUpdateGroupCallChainBlocks as specified here ». If the number of blocks returned by any call to this method is equal to limit, this method must be re-invoked immediately after processing the returned RawUpdateGroupCallChainBlocks, with the newly committed offset (usually equal to the returned next_offset).

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/phone.getGroupCallChainBlocks" \  -H "Content-Type: application/json" \  -d '{    "params": {      "call": {        "_": "inputGroupCall",        "id": "string",        "accessHash": "string"      },      "subChainId": 0,      "offset": 0,      "limit": 0    }  }'
{  "result": {    "_": "updatesTooLong"  }}