SendMessageUploadPhotoAction.deserialize constructor
SendMessageUploadPhotoAction.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory SendMessageUploadPhotoAction.deserialize(BinaryReader reader) {
// Read [SendMessageUploadPhotoAction] fields.
final progress = reader.readInt32();
// Construct [SendMessageUploadPhotoAction] object.
final returnValue = SendMessageUploadPhotoAction(
progress: progress,
);
// Now return the deserialized [SendMessageUploadPhotoAction].
return returnValue;
}