RequestPeerTypeChat class
Request Peer Type Chat.
ID: c9f06e1b
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- RequestPeerTypeBase
- RequestPeerTypeChat
Constructors
- RequestPeerTypeChat({required bool creator, required bool botParticipant, required bool hasUsername, required bool forum, ChatAdminRightsBase? userAdminRights, ChatAdminRightsBase? botAdminRights})
-
Request Peer Type Chat constructor.
const
- RequestPeerTypeChat.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- botAdminRights → ChatAdminRightsBase?
-
Bot Admin Rights.
final
- botParticipant → bool
-
bot_participant: bit 5 of flags.5?true
final
- creator → bool
-
creator: bit 0 of flags.0?true
final
- flags → int
-
Flags.
no setter
- forum → bool
-
forum: bit 4 of flags.4?Bool
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasUsername → bool
-
has_username: bit 3 of flags.3?Bool
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAdminRights → ChatAdminRightsBase?
-
User Admin Rights.
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