Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
telegram
TelegramUser
Class TelegramUser
Hierarchy
TelegramUser
Implements
SociablyUser
MarshallableInstance
<
TelegramUserValue
>
Index
Constructors
constructor
Properties
avatar
Url
data
id
platform
type
type
Name
Accessors
profile
uid
Methods
toJSONValue
type
Name
fromJSONValue
Constructors
constructor
new
Telegram
User
(
id
:
number
, rawData
?:
RawUser
, avatarUrl
?:
string
)
:
TelegramUser
Parameters
id:
number
Optional
rawData:
RawUser
Optional
avatarUrl:
string
Returns
TelegramUser
Properties
avatar
Url
avatar
Url
:
undefined
|
string
data
data
:
null
|
RawUser
id
id
:
number
Id of the user or bot
platform
platform
:
"telegram"
= TELEGRAM
type
type
:
"user"
= ...
Static
type
Name
type
Name
:
string
= 'TelegramUser'
Accessors
profile
get
profile
(
)
:
null
|
TelegramUserProfile
Profile of the user
Returns
null
|
TelegramUserProfile
uid
get
uid
(
)
:
string
Unique id of the user
Returns
string
Methods
toJSONValue
toJSONValue
(
)
:
TelegramUserValue
Returns
TelegramUserValue
type
Name
type
Name
(
)
:
string
Returns
string
Static
fromJSONValue
fromJSONValue
(
__namedParameters
:
TelegramUserValue
)
:
TelegramUser
Parameters
__namedParameters:
TelegramUserValue
Returns
TelegramUser
Modules
auth
core
create-
app
dev-
tools
dialogflow
http
line
messenger
next
redis-
state
script
stream
telegram
telegram/asset
telegram/components
telegram/webview
telegram/webview/client
default
twitter
websocket
webview
Telegram
User
constructor
avatar
Url
data
id
platform
type
type
Name
profile
uid
toJSONValue
type
Name
fromJSONValue
Generated using
TypeDoc
Id of the user or bot