teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
help
TermsOfService
Class TermsOfService
Hierarchy (
View Summary
)
VirtualClass
<
{
entities
:
TypeMessageEntity
[]
;
id
:
TypeDataJSON
;
minAgeConfirm
?:
int
;
popup
?:
boolean
;
text
:
string
;
}
,
>
TermsOfService
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
entities
id
min
Age
Confirm?
original
Args
popup?
SUBCLASS_
OF_
ID
text
Constructors
constructor
new
TermsOfService
(
args
:
{
entities
:
TypeMessageEntity
[]
;
id
:
DataJSON
;
minAgeConfirm
?:
number
;
popup
?:
boolean
;
text
:
string
;
}
,
)
:
TermsOfService
Parameters
args
:
{
entities
:
TypeMessageEntity
[]
;
id
:
DataJSON
;
minAgeConfirm
?:
number
;
popup
?:
boolean
;
text
:
string
;
}
Returns
TermsOfService
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
TermsOfService
Parameters
reader
:
any
Returns
TermsOfService
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
()
:
{
entities
:
TypeMessageEntity
[]
;
id
:
DataJSON
;
minAgeConfirm
?:
number
;
popup
?:
boolean
;
text
:
string
;
}
Returns
{
entities
:
TypeMessageEntity
[]
;
id
:
DataJSON
;
minAgeConfirm
?:
number
;
popup
?:
boolean
;
text
:
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.TermsOfService"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2013922064
entities
entities
:
TypeMessageEntity
[]
id
id
:
DataJSON
Optional
min
Age
Confirm
minAgeConfirm
?:
number
original
Args
originalArgs
:
{
entities
:
TypeMessageEntity
[]
;
id
:
DataJSON
;
minAgeConfirm
?:
number
;
popup
?:
boolean
;
text
:
string
;
}
Optional
popup
popup
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
552502034
text
text
:
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
entities
id
min
Age
Confirm
original
Args
popup
SUBCLASS_
OF_
ID
text
GitHub
npm
Issues
teleproto - v1.229.0
Loading...