teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
account
UploadTheme
Class UploadTheme
Hierarchy (
View Summary
)
Request
<
Partial
<
{
file
:
TypeInputFile
;
fileName
:
string
;
mimeType
:
string
;
thumb
?:
TypeInputFile
;
}
,
>
,
TypeDocument
,
>
UploadTheme
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
file
file
Name
mime
Type
original
Args
SUBCLASS_
OF_
ID
thumb?
Constructors
constructor
new
UploadTheme
(
args
:
Args
)
:
UploadTheme
Parameters
args
:
Args
Returns
UploadTheme
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
UploadTheme
Parameters
reader
:
any
Returns
UploadTheme
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
:
TypeDocument
class
Name
className
:
"account.UploadTheme"
class
Type
classType
:
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
473805619
file
file
:
TypeInputFile
file
Name
fileName
:
string
mime
Type
mimeType
:
string
original
Args
originalArgs
:
Args
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
555739168
Optional
thumb
thumb
?:
TypeInputFile
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
file
file
Name
mime
Type
original
Args
SUBCLASS_
OF_
ID
thumb
GitHub
npm
Issues
teleproto - v1.229.0
Loading...