ChannelsToggleUsername class

Channels Toggle Username.

Return Type: bool. ID: 50f24105.

Inheritance

Constructors

ChannelsToggleUsername({required InputChannelBase channel, required String username, required bool active})
Channels Toggle Username constructor.
const
ChannelsToggleUsername.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

active bool
Active.
final
channel InputChannelBase
Channel.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
Username.
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