ChannelAdminLogEventActionChangeAvailableReactions.deserialize constructor
ChannelAdminLogEventActionChangeAvailableReactions.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChannelAdminLogEventActionChangeAvailableReactions.deserialize(
BinaryReader reader) {
// Read [ChannelAdminLogEventActionChangeAvailableReactions] fields.
final prevValue = reader.readObject() as ChatReactionsBase;
final newValue = reader.readObject() as ChatReactionsBase;
// Construct [ChannelAdminLogEventActionChangeAvailableReactions] object.
final returnValue = ChannelAdminLogEventActionChangeAvailableReactions(
prevValue: prevValue,
newValue: newValue,
);
// Now return the deserialized [ChannelAdminLogEventActionChangeAvailableReactions].
return returnValue;
}