Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
BotApp
Class BotApp
Hierarchy
VirtualClass
<
{
id
:
long
;
accessHash
:
long
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
long
}
>
BotApp
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
id
access
Hash
short
Name
title
description
photo
document
hash
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
from
Reader
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
{
id
:
BigInteger
;
accessHash
:
BigInteger
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
BigInteger
}
Type declaration
id
:
BigInteger
access
Hash
:
BigInteger
short
Name
:
string
title
:
string
description
:
string
photo
:
Api
.
TypePhoto
Optional
document
?:
TypeDocument
hash
:
BigInteger
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
2516373974
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
34550446
class
Type
class
Type
:
"constructor"
class
Name
class
Name
:
"BotApp"
id
id
:
BigInteger
access
Hash
access
Hash
:
BigInteger
short
Name
short
Name
:
string
title
title
:
string
description
description
:
string
photo
photo
:
Api
.
TypePhoto
Optional
document
document
?:
TypeDocument
hash
hash
:
BigInteger
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
{
id
:
BigInteger
;
accessHash
:
BigInteger
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
BigInteger
}
Returns
{
id
:
BigInteger
;
accessHash
:
BigInteger
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
BigInteger
}
id
:
BigInteger
access
Hash
:
BigInteger
short
Name
:
string
title
:
string
description
:
string
photo
:
Api
.
TypePhoto
Optional
document
?:
TypeDocument
hash
:
BigInteger
Static
from
Reader
from
Reader
(
reader
:
any
)
:
Api
.
BotApp
Parameters
reader:
any
Returns
Api
.
BotApp
Constructors
constructor
new
Bot
App
(
args
:
{
id
:
BigInteger
;
accessHash
:
BigInteger
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
BigInteger
}
)
:
Api
.
BotApp
Parameters
args:
{
id
:
BigInteger
;
accessHash
:
BigInteger
;
shortName
:
string
;
title
:
string
;
description
:
string
;
photo
:
Api
.
TypePhoto
;
document
?:
TypeDocument
;
hash
:
BigInteger
}
id
:
BigInteger
access
Hash
:
BigInteger
short
Name
:
string
title
:
string
description
:
string
photo
:
Api
.
TypePhoto
Optional
document
?:
TypeDocument
hash
:
BigInteger
Returns
Api
.
BotApp
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Bot
App
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
constructor
original
Args
toJSON
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
from
Reader
id
access
Hash
short
Name
title
description
photo
document
hash
Generated using
TypeDoc