teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
MessageMediaGiveaway
Class MessageMediaGiveaway
Hierarchy (
View Summary
)
VirtualClass
<
{
channels
:
long
[]
;
countriesIso2
?:
string
[]
;
months
?:
int
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
int
;
stars
?:
long
;
untilDate
:
int
;
winnersAreVisible
?:
boolean
;
}
,
>
MessageMediaGiveaway
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
channels
class
Name
class
Type
CONSTRUCTOR_
ID
countries
Iso2?
months?
only
New
Subscribers?
original
Args
prize
Description?
quantity
stars?
SUBCLASS_
OF_
ID
until
Date
winners
Are
Visible?
Constructors
constructor
new
MessageMediaGiveaway
(
args
:
{
channels
:
BigInteger
[]
;
countriesIso2
?:
string
[]
;
months
?:
number
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
number
;
stars
?:
BigInteger
;
untilDate
:
number
;
winnersAreVisible
?:
boolean
;
}
,
)
:
MessageMediaGiveaway
Parameters
args
:
{
channels
:
BigInteger
[]
;
countriesIso2
?:
string
[]
;
months
?:
number
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
number
;
stars
?:
BigInteger
;
untilDate
:
number
;
winnersAreVisible
?:
boolean
;
}
Returns
MessageMediaGiveaway
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageMediaGiveaway
Parameters
reader
:
any
Returns
MessageMediaGiveaway
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
()
:
{
channels
:
BigInteger
[]
;
countriesIso2
?:
string
[]
;
months
?:
number
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
number
;
stars
?:
BigInteger
;
untilDate
:
number
;
winnersAreVisible
?:
boolean
;
}
Returns
{
channels
:
BigInteger
[]
;
countriesIso2
?:
string
[]
;
months
?:
number
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
number
;
stars
?:
BigInteger
;
untilDate
:
number
;
winnersAreVisible
?:
boolean
;
}
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
channels
channels
:
BigInteger
[]
class
Name
className
:
"MessageMediaGiveaway"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2852600811
Optional
countries
Iso2
countriesIso2
?:
string
[]
Optional
months
months
?:
number
Optional
only
New
Subscribers
onlyNewSubscribers
?:
boolean
original
Args
originalArgs
:
{
channels
:
BigInteger
[]
;
countriesIso2
?:
string
[]
;
months
?:
number
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
quantity
:
number
;
stars
?:
BigInteger
;
untilDate
:
number
;
winnersAreVisible
?:
boolean
;
}
Optional
prize
Description
prizeDescription
?:
string
quantity
quantity
:
number
Optional
stars
stars
?:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1198308914
until
Date
untilDate
:
number
Optional
winners
Are
Visible
winnersAreVisible
?:
boolean
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
channels
class
Name
class
Type
CONSTRUCTOR_
ID
countries
Iso2
months
only
New
Subscribers
original
Args
prize
Description
quantity
stars
SUBCLASS_
OF_
ID
until
Date
winners
Are
Visible
GitHub
npm
Issues
teleproto - v1.229.0
Loading...