telegram api constructor · layer 229 · #5e002502

auth.sentCode

Contains info about a sent verification code.

definition

auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;

parameters

nametypedescription
flags#Flags, see TL conditional fields
typeauth.SentCodeTypePhone code type
phone_code_hashstringPhone code hash, to be stored and later re-used with auth.signIn
next_typeflags.1?auth.CodeTypePhone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode
timeoutflags.2?intTimeout for reception of the phone code

type

auth.SentCode · other constructors: auth.sentCodeSuccess, auth.sentCodePaymentRequired

history

present in layers 2–229 · constructor id changed 3×

idlayers
#2215bcbd2–11
#efed51d912–46
#5e00250262–79
#38faab5f80–103
#5e002502104–229