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

x/mtkruto/2_tl.ts>Api.user

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Api.user
import { type Api } from "https://deno.land/x/mtkruto@0.2.50/2_tl.ts";
const { user } = Api;

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