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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class User_
extends _User_
import { User_ } from "https://deno.land/x/mtkruto@0.1.130/tl/2_types.ts";

Constructors

new
User_(params: { self?: true; contact?: true; mutual_contact?: true; deleted?: true; bot?: true; bot_chat_history?: true; bot_nochats?: true; verified?: true; restricted?: true; min?: true; bot_inline_geo?: true; support?: true; scam?: true; apply_min_photo?: true; fake?: true; bot_attach_menu?: true; premium?: true; attach_menu_enabled?: true; bot_can_edit?: true; close_friend?: true; stories_hidden?: true; stories_unavailable?: true; id: bigint; access_hash?: bigint; first_name?: string; last_name?: string; username?: string; phone?: string; photo?: enums.UserProfilePhoto; status?: enums.UserStatus; bot_info_version?: number; restriction_reason?: Array<enums.RestrictionReason>; bot_inline_placeholder?: string; lang_code?: string; emoji_status?: enums.EmojiStatus; usernames?: Array<enums.Username>; stories_max_id?: number; color?: enums.PeerColor; profile_color?: enums.PeerColor; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
access_hash: bigint
optional
apply_min_photo: true
optional
attach_menu_enabled: true
optional
bot: true
optional
bot_attach_menu: true
optional
bot_can_edit: true
optional
bot_chat_history: true
optional
bot_info_version: number
optional
bot_inline_geo: true
optional
bot_inline_placeholder: string
optional
bot_nochats: true
optional
close_friend: true
optional
color: enums.PeerColor
optional
contact: true
optional
deleted: true
optional
emoji_status: enums.EmojiStatus
optional
fake: true
optional
first_name: string
id: bigint
optional
lang_code: string
optional
last_name: string
optional
min: true
optional
mutual_contact: true
optional
phone: string
optional
photo: enums.UserProfilePhoto
optional
premium: true
optional
profile_color: enums.PeerColor
optional
restricted: true
optional
restriction_reason: Array<enums.RestrictionReason>
optional
scam: true
optional
self: true
optional
status: enums.UserStatus
optional
stories_hidden: true
optional
stories_max_id: number
optional
stories_unavailable: true
optional
support: true
optional
username: string
optional
usernames: Array<enums.Username>
optional
verified: true

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc