phone.createConferenceCall
Create and optionally join a new conference call.
func (c *Client) PhoneCreateConferenceCall(ctx context.Context, request *PhoneCreateConferenceCallRequest) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneCreateConferenceCall(ctx, &tg.PhoneCreateConferenceCallRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Muted | bool | — | If set, mute our microphone when joining the call (can only be used if join is set). |
VideoStopped | bool | — | If set, our video stream is disabled (can only be used if join is set). |
Join | bool | — | If set, also join the call, otherwise just create the call link. |
RandomID | int | yes | Unique client message ID required to prevent creation of duplicate group calls. |
PublicKey | bin.Int256 | — | Public key (can only be used if join is set). |
Block | []byte | — | Initial blockchain block (can only be used if join is set). |
Params | DataJSON | — | Parameters from tgcalls (can only be used if join is set). |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
phone.createConferenceCall#7d0444bb