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

x/mtkruto/tl/0_api.ts>user

Cross-runtime JavaScript library for building Telegram clients
Latest
interface user
import { type user } from "https://deno.land/x/mtkruto@0.6.2/tl/0_api.ts";

Properties

_: "user"
optional
self: true
optional
contact: true
optional
mutual_contact: true
optional
deleted: true
optional
bot: true
optional
bot_chat_history: true
optional
bot_nochats: true
optional
verified: true
optional
restricted: true
optional
min: true
optional
bot_inline_geo: true
optional
support: true
optional
scam: true
optional
apply_min_photo: true
optional
fake: true
optional
bot_attach_menu: true
optional
premium: true
optional
attach_menu_enabled: true
optional
bot_can_edit: true
optional
close_friend: true
optional
stories_hidden: true
optional
stories_unavailable: true
optional
contact_require_premium: true
optional
bot_business: true
optional
bot_has_main_app: true
id: bigint
optional
access_hash: bigint
optional
first_name: string
optional
last_name: string
optional
username: string
optional
phone: string
optional
photo: UserProfilePhoto
optional
status: UserStatus
optional
bot_info_version: number
optional
restriction_reason: Array<RestrictionReason>
optional
bot_inline_placeholder: string
optional
lang_code: string
optional
emoji_status: EmojiStatus
optional
usernames: Array<Username>
optional
stories_max_id: number
optional
color: PeerColor
optional
profile_color: PeerColor
optional
bot_active_users: number