Skip to main content

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

NameTypeRequiredDescription
CallInputGroupCallClassyesThe conference.
SubChainIDintyesSubchain ID.
OffsetintyesOffset for pagination.
LimitintyesMaximum number of blocks to return in this call, see pagination

Returns

UpdatesClass

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.

References