Raw.auth.SentCode
Contains info about a sent verification code.
auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;export namespace Raw {
export namespace auth {
export class SentCode {
constructor(params: {
type: Raw.auth.TypeSentCodeType;
phoneCodeHash: string;
nextType?: Raw.auth.TypeCodeType;
timeout?: number;
}) {}
}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0x5e002502
Property
type: Raw.auth.TypeSentCodeTypePhone code type
phoneCodeHash: stringPhone code hash, to be stored and later re-used with auth.signin
nextType: Raw.auth.TypeCodeType or undefinedPhone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendcode
timeout: number or undefinedTimeout for reception of the phone code