Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>UpdateNewAuthorization_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateNewAuthorization_
extends _Update_
import { UpdateNewAuthorization_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

A new session logged into the current user's account through an unknown device.

Constructors

new
UpdateNewAuthorization_(params: { unconfirmed?: true; hash: bigint; date?: number; device?: string; location?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
date: number

Authorization date

optional
device: string

Name of device, for example Android

optional
location: string

Location, for example USA, NY (IP=1.2.3.4)

optional
unconfirmed: true

Whether the session is unconfirmed, see here » for more info.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc