Layer 224
method
auth.checkPaidAuth#56e59f9c phone_number:string phone_code_hash:string form_id:long = auth.SentCode;

Parameters

Name Type Description
PhoneNumber string User phone number
PhoneCodeHash string Hash of verification code
FormId long Payment form ID

Returns

auth.SentCode

Gogram Example

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