Layer 224
method Users
account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode;

Parameters

Name Type Description
Hash string The hash from the service notification, for more info click here
Settings CodeSettings Phone code settings

Returns

auth.SentCode

Gogram Example

// AccountSendConfirmPhoneCode - positional arguments
result, err := client.AccountSendConfirmPhoneCode("Hello, World!", &tg.CodeSettings{})
if err != nil {
    // handle error
}
// result is *tg.AuthSentCode

Possible Errors

Code Type Description
400 HASH_INVALID The provided hash is invalid.