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