teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
InputRichMessage
Class InputRichMessage
Hierarchy (
View Summary
)
VirtualClass
<
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
,
>
InputRichMessage
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
blocks
class
Name
class
Type
CONSTRUCTOR_
ID
documents?
noautolink?
original
Args
photos?
rtl?
SUBCLASS_
OF_
ID
users?
Constructors
constructor
new
InputRichMessage
(
args
:
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
,
)
:
InputRichMessage
Parameters
args
:
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
Returns
InputRichMessage
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
InputRichMessage
Parameters
reader
:
any
Returns
InputRichMessage
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
()
:
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
Returns
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
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
blocks
blocks
:
TypePageBlock
[]
class
Name
className
:
"InputRichMessage"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3838069244
Optional
documents
documents
?:
TypeInputDocument
[]
Optional
noautolink
noautolink
?:
boolean
original
Args
originalArgs
:
{
blocks
:
TypePageBlock
[]
;
documents
?:
TypeInputDocument
[]
;
noautolink
?:
boolean
;
photos
?:
TypeInputPhoto
[]
;
rtl
?:
boolean
;
users
?:
TypeInputUser
[]
;
}
Optional
photos
photos
?:
TypeInputPhoto
[]
Optional
rtl
rtl
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1437053715
Optional
users
users
?:
TypeInputUser
[]
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
blocks
class
Name
class
Type
CONSTRUCTOR_
ID
documents
noautolink
original
Args
photos
rtl
SUBCLASS_
OF_
ID
users
GitHub
npm
Issues
teleproto - v1.229.0
Loading...