Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
messages
TranslateText
Class TranslateText
Hierarchy
Request
<
Partial
<
{
peer
?:
TypeEntityLike
;
id
?:
int
[]
;
text
?:
TypeTextWithEntities
[]
;
toLang
:
string
}
>
,
TypeTranslatedText
>
TranslateText
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
__response
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
peer
id
text
to
Lang
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
read
Result
resolve
from
Reader
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
Partial
<
Partial
<
{
peer
?:
EntityLike
;
id
?:
number
[]
;
text
?:
TextWithEntities
[]
;
toLang
:
string
}
>
>
__response
__response
:
TranslateResult
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
1662529584
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
37897192
class
Type
class
Type
:
"request"
class
Name
class
Name
:
"messages.TranslateText"
Optional
peer
peer
?:
EntityLike
Optional
id
id
?:
number
[]
Optional
text
text
?:
TextWithEntities
[]
to
Lang
to
Lang
:
string
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
Partial
<
Partial
<
{
peer
?:
EntityLike
;
id
?:
number
[]
;
text
?:
TextWithEntities
[]
;
toLang
:
string
}
>
>
Returns
Partial
<
Partial
<
{
peer
?:
EntityLike
;
id
?:
number
[]
;
text
?:
TextWithEntities
[]
;
toLang
:
string
}
>
>
Static
read
Result
read
Result
(
reader
:
any
)
:
Buffer
Parameters
reader:
any
Returns
Buffer
resolve
resolve
(
client
:
any
, utils
:
any
)
:
Promise
<
void
>
Parameters
client:
any
utils:
any
Returns
Promise
<
void
>
Static
from
Reader
from
Reader
(
reader
:
any
)
:
TranslateText
Parameters
reader:
any
Returns
TranslateText
Constructors
constructor
new
Translate
Text
(
args
:
Partial
<
Partial
<
{
peer
?:
EntityLike
;
id
?:
number
[]
;
text
?:
TextWithEntities
[]
;
toLang
:
string
}
>
>
)
:
TranslateText
Parameters
args:
Partial
<
Partial
<
{
peer
?:
EntityLike
;
id
?:
number
[]
;
text
?:
TextWithEntities
[]
;
toLang
:
string
}
>
>
Returns
TranslateText
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Translate
Text
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
constructor
original
Args
toJSON
read
Result
resolve
__response
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
from
Reader
peer
id
text
to
Lang
Generated using
TypeDoc