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