teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
help
PremiumPromo
Class PremiumPromo
Hierarchy (
View Summary
)
VirtualClass
<
{
periodOptions
:
TypePremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
string
[]
;
}
,
>
PremiumPromo
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
CONSTRUCTOR_
ID
original
Args
period
Options
status
Entities
status
Text
SUBCLASS_
OF_
ID
users
videos
video
Sections
Constructors
constructor
new
PremiumPromo
(
args
:
{
periodOptions
:
PremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
string
[]
;
}
,
)
:
PremiumPromo
Parameters
args
:
{
periodOptions
:
PremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
string
[]
;
}
Returns
PremiumPromo
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PremiumPromo
Parameters
reader
:
any
Returns
PremiumPromo
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
()
:
{
periodOptions
:
PremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
string
[]
;
}
Returns
{
periodOptions
:
PremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
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
class
Name
className
:
"help.PremiumPromo"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1395946908
original
Args
originalArgs
:
{
periodOptions
:
PremiumSubscriptionOption
[]
;
statusEntities
:
TypeMessageEntity
[]
;
statusText
:
string
;
users
:
TypeUser
[]
;
videos
:
TypeDocument
[]
;
videoSections
:
string
[]
;
}
period
Options
periodOptions
:
PremiumSubscriptionOption
[]
status
Entities
statusEntities
:
TypeMessageEntity
[]
status
Text
statusText
:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3381109560
users
users
:
TypeUser
[]
videos
videos
:
TypeDocument
[]
video
Sections
videoSections
:
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
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
period
Options
status
Entities
status
Text
SUBCLASS_
OF_
ID
users
videos
video
Sections
GitHub
npm
Issues
teleproto - v1.229.0
Loading...