Layer 220
method Users
smsjobs.updateSettings#93fa0bf flags:# allow_international:flags.0?true = Bool;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
AllowInternational flags.0?true Allow international numbers?

Returns

Bool

Possible Errors

Code Type Description
400 NOT_JOINED The current user hasn't joined the Peer-to-Peer Login Program.

Gogram Example

// SmsjobsUpdateSettings - using Params struct
result, err := client.SmsjobsUpdateSettings(&tg.SmsjobsUpdateSettingsParams{

    // Optional fields:
    // AllowInternational: true,
})
if err != nil {
    // handle error
}
// result is *tg.Bool