class User_
extends _User_
import { User_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Indicates info about a certain user
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; contact_require_premium?: 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
[params]: ParamsWhether we can edit the profile picture, name, about text and description of this bot because we own it.
Version of the bot_info field in userFull, incremented every time it changes
Whether we marked this user as a close friend, see here » for more info
The user's accent color.
If set, this user was reported by many users as a fake or scam user: be careful when interacting with them.
See min
The user's profile color.
Access to this user must be restricted for the reason specified in restriction_reason
Contains the reason why access to this user must be restricted.
ID of the maximum read story.
Static Properties
readonly
[paramDesc]: ParamDesc