teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
BotBusinessConnection
Class BotBusinessConnection
Hierarchy (
View Summary
)
VirtualClass
<
{
connectionId
:
string
;
date
:
int
;
dcId
:
int
;
disabled
?:
boolean
;
rights
?:
TypeBusinessBotRights
;
userId
:
long
;
}
,
>
BotBusinessConnection
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
connection
Id
CONSTRUCTOR_
ID
date
dc
Id
disabled?
original
Args
rights?
SUBCLASS_
OF_
ID
user
Id
Constructors
constructor
new
BotBusinessConnection
(
args
:
{
connectionId
:
string
;
date
:
number
;
dcId
:
number
;
disabled
?:
boolean
;
rights
?:
BusinessBotRights
;
userId
:
BigInteger
;
}
,
)
:
BotBusinessConnection
Parameters
args
:
{
connectionId
:
string
;
date
:
number
;
dcId
:
number
;
disabled
?:
boolean
;
rights
?:
BusinessBotRights
;
userId
:
BigInteger
;
}
Returns
BotBusinessConnection
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
BotBusinessConnection
Parameters
reader
:
any
Returns
BotBusinessConnection
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
connectionId
:
string
;
date
:
number
;
dcId
:
number
;
disabled
?:
boolean
;
rights
?:
BusinessBotRights
;
userId
:
BigInteger
;
}
Returns
{
connectionId
:
string
;
date
:
number
;
dcId
:
number
;
disabled
?:
boolean
;
rights
?:
BusinessBotRights
;
userId
:
BigInteger
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"BotBusinessConnection"
class
Type
classType
:
"constructor"
connection
Id
connectionId
:
string
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2402595573
date
date
:
number
dc
Id
dcId
:
number
Optional
disabled
disabled
?:
boolean
original
Args
originalArgs
:
{
connectionId
:
string
;
date
:
number
;
dcId
:
number
;
disabled
?:
boolean
;
rights
?:
BusinessBotRights
;
userId
:
BigInteger
;
}
Optional
rights
rights
?:
BusinessBotRights
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2601715014
user
Id
userId
:
BigInteger
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
connection
Id
CONSTRUCTOR_
ID
date
dc
Id
disabled
original
Args
rights
SUBCLASS_
OF_
ID
user
Id
GitHub
npm
Issues
teleproto - v1.229.0
Loading...