Skip to main content

phone.getCallConfig

DEPRECATED: Get phone call configuration to be passed to the libtgvoip (deprecated) shared config.

func (c *Client) PhoneGetCallConfig(ctx context.Context) (*DataJSON, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneGetCallConfig(ctx)
if err != nil {
return err
}
_ = res // *DataJSON
return nil
})

Parameters

This method takes no parameters.

Returns

*DataJSON

References