Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/mod.ts>Api.auth.SentCode

MTProto API Client for Deno 🦕
Go to Latest
class Api.auth.SentCode
extends VirtualClass<{ type: auth.TypeSentCodeType; phoneCodeHash: string; nextType?: auth.TypeCodeType; timeout?: int; }>
import { Api } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { SentCode } = Api.auth;

Properties

className: "auth.SentCode"
classType: "constructor"
CONSTRUCTOR_ID: 1577067778
optional
nextType: auth.TypeCodeType
phoneCodeHash: string
SUBCLASS_OF_ID: 1827172481
optional
timeout: int
type: auth.TypeSentCodeType

Static Methods

fromReader(reader: Reader): SentCode