Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
photos
UploadProfilePhoto
Class UploadProfilePhoto
Hierarchy
Request
<
Partial
<
{
fallback
?:
boolean
;
bot
?:
TypeEntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
double
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
,
Api
.
photos
.
TypePhoto
>
UploadProfilePhoto
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
__response
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
fallback
bot
file
video
video
Start
Ts
video
Emoji
Markup
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
<
{
fallback
?:
boolean
;
bot
?:
EntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
number
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
>
__response
__response
:
Api
.
photos
.
Photo
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
59286453
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
3264396580
class
Type
class
Type
:
"request"
class
Name
class
Name
:
"photos.UploadProfilePhoto"
Optional
fallback
fallback
?:
boolean
Optional
bot
bot
?:
EntityLike
Optional
file
file
?:
TypeInputFile
Optional
video
video
?:
TypeInputFile
Optional
video
Start
Ts
video
Start
Ts
?:
number
Optional
video
Emoji
Markup
video
Emoji
Markup
?:
TypeVideoSize
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
<
{
fallback
?:
boolean
;
bot
?:
EntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
number
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
>
Returns
Partial
<
Partial
<
{
fallback
?:
boolean
;
bot
?:
EntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
number
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
>
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
)
:
UploadProfilePhoto
Parameters
reader:
any
Returns
UploadProfilePhoto
Constructors
constructor
new
Upload
Profile
Photo
(
args
:
Partial
<
Partial
<
{
fallback
?:
boolean
;
bot
?:
EntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
number
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
>
)
:
UploadProfilePhoto
Parameters
args:
Partial
<
Partial
<
{
fallback
?:
boolean
;
bot
?:
EntityLike
;
file
?:
TypeInputFile
;
video
?:
TypeInputFile
;
videoStartTs
?:
number
;
videoEmojiMarkup
?:
TypeVideoSize
}
>
>
Returns
UploadProfilePhoto
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
Upload
Profile
Photo
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
fallback
bot
file
video
video
Start
Ts
video
Emoji
Markup
Generated using
TypeDoc