teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
messages
ComposeMessageWithAI
Class ComposeMessageWithAI
Hierarchy (
View Summary
)
Request
<
Partial
<
{
emojify
?:
boolean
;
proofread
?:
boolean
;
text
:
TypeTextWithEntities
;
tone
?:
TypeInputAiComposeTone
;
translateToLang
?:
string
;
}
,
>
,
TypeComposedMessageWithAI
,
>
ComposeMessageWithAI
Index
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
class
Name
class
Type
CONSTRUCTOR_
ID
emojify?
original
Args
proofread?
SUBCLASS_
OF_
ID
text
tone?
translate
To
Lang?
Constructors
constructor
new
ComposeMessageWithAI
(
args
:
Args
)
:
ComposeMessageWithAI
Parameters
args
:
Args
Returns
ComposeMessageWithAI
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ComposeMessageWithAI
Parameters
reader
:
any
Returns
ComposeMessageWithAI
Static
read
Result
readResult
(
reader
:
any
)
:
Buffer
Parameters
reader
:
any
Returns
Buffer
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
resolve
resolve
(
client
:
any
,
utils
:
any
)
:
Promise
<
void
>
Parameters
client
:
any
utils
:
any
Returns
Promise
<
void
>
to
JSON
toJSON
()
:
Args
Returns
Args
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
__
response
__response
:
ComposedMessageWithAI
class
Name
className
:
"messages.ComposeMessageWithAI"
class
Type
classType
:
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3672950153
Optional
emojify
emojify
?:
boolean
original
Args
originalArgs
:
Args
Optional
proofread
proofread
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
336069599
text
text
:
TextWithEntities
Optional
tone
tone
?:
TypeInputAiComposeTone
Optional
translate
To
Lang
translateToLang
?:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
class
Name
class
Type
CONSTRUCTOR_
ID
emojify
original
Args
proofread
SUBCLASS_
OF_
ID
text
tone
translate
To
Lang
GitHub
npm
Issues
teleproto - v1.229.0
Loading...