PhotosUploadContactProfilePhoto class

Photos Upload Contact Profile Photo.

Return Type: PhotosPhotoBase. ID: e14c4a71.

Inheritance

Constructors

PhotosUploadContactProfilePhoto({required bool suggest, required bool save, required InputUserBase userId, InputFileBase? file, InputFileBase? video, double? videoStartTs, VideoSizeBase? videoEmojiMarkup})
Photos Upload Contact Profile Photo constructor.
const
PhotosUploadContactProfilePhoto.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

file InputFileBase?
File.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
save bool
save: bit 4 of flags.4?true
final
suggest bool
suggest: bit 3 of flags.3?true
final
userId InputUserBase
User Id.
final
video InputFileBase?
Video.
final
videoEmojiMarkup VideoSizeBase?
Video Emoji Markup.
final
videoStartTs double?
Video Start Ts.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited