class 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; usernames?: Api.TypeUsername[]; }>
import { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { User } = Api;
Properties
optional
emojiStatus: Api.TypeEmojiStatusoptional
photo: Api.TypeUserProfilePhotooptional
restrictionReason: Api.TypeRestrictionReason[]optional
status: Api.TypeUserStatusoptional
usernames: Api.TypeUsername[]Static Methods
fromReader(reader: Reader): User