phone.getGroupCallChainBlocks #

Fetch blocks from a conference call subchain »; handle the returned updateGroupCallChainBlocks 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 updateGroupCallChainBlocks, with the newly committed offset (usually equal to the returned next_offset).

Layer 223

updatesTooLong#e317af7e = Updates;
updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
updateShort#78d4dec1 update:Update date:int = Updates;
updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
---functions---
phone.getGroupCallChainBlocks#ee9f88a6 call:InputGroupCall sub_chain_id:int offset:int limit:int = Updates;

Parameters #

NameTypeDescription
callInputGroupCallConference whose subchain blocks should be fetched
sub_chain_idint0 for the main state blockchain, 1 for the call verification subchain
offsetintFetch blocks starting from this height; pass -1 to fetch the latest block
limitintMaximum number of blocks to return in this call, see pagination, max 100.

Result #

Updates

Only users can use this method #

Possible errors #

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.

Pagination in the API #

How to fetch results from large lists of objects.

E2E Group Calls #

End-to-end encryption used for Telegram group voice and video calls, using a blockchain for state management.

updateGroupCallChainBlocks #

Contains conference call blockchain blocks, see handling E2E group call updates ».