phone.getGroupCallStreamChannels
Get info about RTMP streams in a group call or livestream. This method should be invoked to the same group/channel-related DC used for downloading livestream chunks. As usual, the media DC is preferred, if available.
func (c *Client) PhoneGetGroupCallStreamChannels(ctx context.Context, call InputGroupCallClass) (*PhoneGroupCallStreamChannels, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneGetGroupCallStreamChannels(ctx, call)
if err != nil {
return err
}
_ = res // *PhoneGroupCallStreamChannels
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Call | InputGroupCallClass | yes | Group call or livestream |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 400 | GROUPCALL_JOIN_MISSING | You haven't joined this group call. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.getGroupCallStreamChannels#1ab21940