30 lines
536 B
TypeScript
30 lines
536 B
TypeScript
export interface Status {
|
|
_: string;
|
|
was_online: number;
|
|
}
|
|
|
|
export interface User {
|
|
_: string;
|
|
flags: number;
|
|
self: boolean;
|
|
contact: boolean;
|
|
mutual_contact: boolean;
|
|
deleted: boolean;
|
|
bot: boolean;
|
|
bot_chat_history: boolean;
|
|
bot_nochats: boolean;
|
|
verified: boolean;
|
|
restricted: boolean;
|
|
min: boolean;
|
|
bot_inline_geo: boolean;
|
|
support: boolean;
|
|
scam: boolean;
|
|
apply_min_photo: boolean;
|
|
fake: boolean;
|
|
id: string;
|
|
access_hash: string;
|
|
first_name: string;
|
|
phone: string;
|
|
status: Status;
|
|
}
|