Skip to content

Latest commit

 

History

History
102 lines (55 loc) · 2.39 KB

TelegramUserData.md

File metadata and controls

102 lines (55 loc) · 2.39 KB

@telegram-auth/server / TelegramUserData

Interface: TelegramUserData

The expected user data from Telegram.

See

https://core.telegram.org/widgets/login#receiving-authorization-data

Table of contents

Properties

Properties

id

id: number

Defined in

utils/types.ts:12


first_name

first_name: string

Defined in

utils/types.ts:13


last_name

Optional last_name: string

Defined in

utils/types.ts:14


photo_url

Optional photo_url: string

Defined in

utils/types.ts:15


username

Optional username: string

Defined in

utils/types.ts:16


is_bot

Optional is_bot: boolean

Defined in

utils/types.ts:18


language_code

Optional language_code: string

Defined in

utils/types.ts:19


is_premium

Optional is_premium: boolean

Defined in

utils/types.ts:20