teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
photos
UploadContactProfilePhoto
Class UploadContactProfilePhoto
Hierarchy (
View Summary
)
Request
<
Partial
<
{
file
?:
TypeInputFile
;
save
?:
boolean
;
suggest
?:
boolean
;
userId
:
TypeEntityLike
;
video
?:
TypeInputFile
;
videoEmojiMarkup
?:
TypeVideoSize
;
videoStartTs
?:
double
;
}
,
>
,
Api
.
photos
.
TypePhoto
,
>
UploadContactProfilePhoto
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?
original
Args
save?
SUBCLASS_
OF_
ID
suggest?
user
Id
video?
video
Emoji
Markup?
video
Start
Ts?
Constructors
constructor
new
UploadContactProfilePhoto
(
args
:
Args
)
:
UploadContactProfilePhoto
Parameters
args
:
Args
Returns
UploadContactProfilePhoto
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
UploadContactProfilePhoto
Parameters
reader
:
any
Returns
UploadContactProfilePhoto
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
:
Api
.
photos
.
Photo
class
Name
className
:
"photos.UploadContactProfilePhoto"
class
Type
classType
:
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3779873393
Optional
file
file
?:
TypeInputFile
original
Args
originalArgs
:
Args
Optional
save
save
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3264396580
Optional
suggest
suggest
?:
boolean
user
Id
userId
:
EntityLike
Optional
video
video
?:
TypeInputFile
Optional
video
Emoji
Markup
videoEmojiMarkup
?:
TypeVideoSize
Optional
video
Start
Ts
videoStartTs
?:
number
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
original
Args
save
SUBCLASS_
OF_
ID
suggest
user
Id
video
video
Emoji
Markup
video
Start
Ts
GitHub
npm
Issues
teleproto - v1.229.0
Loading...