class tl.Api.User
extends VirtualClass<{ self?: boolean; contact?: boolean; mutualContact?: boolean; deleted?: boolean; bot?: boolean; botChatHistory?: boolean; botNochats?: boolean; verified?: boolean; restricted?: boolean; min?: boolean; botInlineGeo?: boolean; support?: boolean; scam?: boolean; applyMinPhoto?: boolean; fake?: boolean; botAttachMenu?: boolean; premium?: boolean; attachMenuEnabled?: boolean; id: long; accessHash?: long; firstName?: string; lastName?: string; username?: string; phone?: string; photo?: Api.TypeUserProfilePhoto; status?: Api.TypeUserStatus; botInfoVersion?: int; restrictionReason?: Api.TypeRestrictionReason[]; botInlinePlaceholder?: string; langCode?: string; emojiStatus?: Api.TypeEmojiStatus; }>
import { tl } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { User } = tl.Api;
Properties
optional
emojiStatus: Api.TypeEmojiStatusoptional
photo: Api.TypeUserProfilePhotooptional
restrictionReason: Api.TypeRestrictionReason[]optional
status: Api.TypeUserStatusStatic Methods
fromReader(reader: Reader): User