teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ConnectedBotStarRef
Class ConnectedBotStarRef
Hierarchy (
View Summary
)
VirtualClass
<
{
botId
:
long
;
commissionPermille
:
int
;
date
:
int
;
durationMonths
?:
int
;
participants
:
long
;
revenue
:
long
;
revoked
?:
boolean
;
url
:
string
;
}
,
>
ConnectedBotStarRef
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bot
Id
class
Name
class
Type
commission
Permille
CONSTRUCTOR_
ID
date
duration
Months?
original
Args
participants
revenue
revoked?
SUBCLASS_
OF_
ID
url
Constructors
constructor
new
ConnectedBotStarRef
(
args
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
date
:
number
;
durationMonths
?:
number
;
participants
:
BigInteger
;
revenue
:
BigInteger
;
revoked
?:
boolean
;
url
:
string
;
}
,
)
:
ConnectedBotStarRef
Parameters
args
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
date
:
number
;
durationMonths
?:
number
;
participants
:
BigInteger
;
revenue
:
BigInteger
;
revoked
?:
boolean
;
url
:
string
;
}
Returns
ConnectedBotStarRef
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ConnectedBotStarRef
Parameters
reader
:
any
Returns
ConnectedBotStarRef
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
()
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
date
:
number
;
durationMonths
?:
number
;
participants
:
BigInteger
;
revenue
:
BigInteger
;
revoked
?:
boolean
;
url
:
string
;
}
Returns
{
botId
:
BigInteger
;
commissionPermille
:
number
;
date
:
number
;
durationMonths
?:
number
;
participants
:
BigInteger
;
revenue
:
BigInteger
;
revoked
?:
boolean
;
url
:
string
;
}
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
bot
Id
botId
:
BigInteger
class
Name
className
:
"ConnectedBotStarRef"
class
Type
classType
:
"constructor"
commission
Permille
commissionPermille
:
number
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
429997937
date
date
:
number
Optional
duration
Months
durationMonths
?:
number
original
Args
originalArgs
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
date
:
number
;
durationMonths
?:
number
;
participants
:
BigInteger
;
revenue
:
BigInteger
;
revoked
?:
boolean
;
url
:
string
;
}
participants
participants
:
BigInteger
revenue
revenue
:
BigInteger
Optional
revoked
revoked
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2689765260
url
url
:
string
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
bot
Id
class
Name
class
Type
commission
Permille
CONSTRUCTOR_
ID
date
duration
Months
original
Args
participants
revenue
revoked
SUBCLASS_
OF_
ID
url
GitHub
npm
Issues
teleproto - v1.229.0
Loading...