teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
payments
GiveawayInfo
Class GiveawayInfo
Hierarchy (
View Summary
)
VirtualClass
<
{
adminDisallowedChatId
?:
long
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
int
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
int
;
}
,
>
GiveawayInfo
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
admin
Disallowed
Chat
Id?
class
Name
class
Type
CONSTRUCTOR_
ID
disallowed
Country?
joined
Too
Early
Date?
original
Args
participating?
preparing
Results?
start
Date
SUBCLASS_
OF_
ID
Constructors
constructor
new
GiveawayInfo
(
args
:
{
adminDisallowedChatId
?:
BigInteger
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
number
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
number
;
}
,
)
:
GiveawayInfo
Parameters
args
:
{
adminDisallowedChatId
?:
BigInteger
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
number
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
number
;
}
Returns
GiveawayInfo
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
GiveawayInfo
Parameters
reader
:
any
Returns
GiveawayInfo
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
()
:
{
adminDisallowedChatId
?:
BigInteger
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
number
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
number
;
}
Returns
{
adminDisallowedChatId
?:
BigInteger
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
number
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
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
Optional
admin
Disallowed
Chat
Id
adminDisallowedChatId
?:
BigInteger
class
Name
className
:
"payments.GiveawayInfo"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1130879648
Optional
disallowed
Country
disallowedCountry
?:
string
Optional
joined
Too
Early
Date
joinedTooEarlyDate
?:
number
original
Args
originalArgs
:
{
adminDisallowedChatId
?:
BigInteger
;
disallowedCountry
?:
string
;
joinedTooEarlyDate
?:
number
;
participating
?:
boolean
;
preparingResults
?:
boolean
;
startDate
:
number
;
}
Optional
participating
participating
?:
boolean
Optional
preparing
Results
preparingResults
?:
boolean
start
Date
startDate
:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2527295421
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
admin
Disallowed
Chat
Id
class
Name
class
Type
CONSTRUCTOR_
ID
disallowed
Country
joined
Too
Early
Date
original
Args
participating
preparing
Results
start
Date
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...