teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
StarRefProgram
Class StarRefProgram
Hierarchy (
View Summary
)
VirtualClass
<
{
botId
:
long
;
commissionPermille
:
int
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
int
;
endDate
?:
int
;
}
,
>
StarRefProgram
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
daily
Revenue
Per
User?
duration
Months?
end
Date?
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
StarRefProgram
(
args
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
number
;
endDate
?:
number
;
}
,
)
:
StarRefProgram
Parameters
args
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
number
;
endDate
?:
number
;
}
Returns
StarRefProgram
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
StarRefProgram
Parameters
reader
:
any
Returns
StarRefProgram
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
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
number
;
endDate
?:
number
;
}
Returns
{
botId
:
BigInteger
;
commissionPermille
:
number
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
number
;
endDate
?:
number
;
}
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
:
"StarRefProgram"
class
Type
classType
:
"constructor"
commission
Permille
commissionPermille
:
number
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3708577522
Optional
daily
Revenue
Per
User
dailyRevenuePerUser
?:
TypeStarsAmount
Optional
duration
Months
durationMonths
?:
number
Optional
end
Date
endDate
?:
number
original
Args
originalArgs
:
{
botId
:
BigInteger
;
commissionPermille
:
number
;
dailyRevenuePerUser
?:
TypeStarsAmount
;
durationMonths
?:
number
;
endDate
?:
number
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2559107074
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
daily
Revenue
Per
User
duration
Months
end
Date
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...