ChatAdminRights class
Chat Admin Rights.
ID: 5fb224d5
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- ChatAdminRightsBase
- ChatAdminRights
Constructors
- ChatAdminRights({required bool changeInfo, required bool postMessages, required bool editMessages, required bool deleteMessages, required bool banUsers, required bool inviteUsers, required bool pinMessages, required bool addAdmins, required bool anonymous, required bool manageCall, required bool other, required bool manageTopics, required bool postStories, required bool editStories, required bool deleteStories})
-
Chat Admin Rights constructor.
const
- ChatAdminRights.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- addAdmins → bool
-
add_admins: bit 9 of flags.9?true
final
- anonymous → bool
-
anonymous: bit 10 of flags.10?true
final
- banUsers → bool
-
ban_users: bit 4 of flags.4?true
final
- changeInfo → bool
-
change_info: bit 0 of flags.0?true
final
- deleteMessages → bool
-
delete_messages: bit 3 of flags.3?true
final
- deleteStories → bool
-
delete_stories: bit 16 of flags.16?true
final
- editMessages → bool
-
edit_messages: bit 2 of flags.2?true
final
- editStories → bool
-
edit_stories: bit 15 of flags.15?true
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviteUsers → bool
-
invite_users: bit 5 of flags.5?true
final
- manageCall → bool
-
manage_call: bit 11 of flags.11?true
final
- manageTopics → bool
-
manage_topics: bit 13 of flags.13?true
final
- other → bool
-
other: bit 12 of flags.12?true
final
- pinMessages → bool
-
pin_messages: bit 7 of flags.7?true
final
- postMessages → bool
-
post_messages: bit 1 of flags.1?true
final
- postStories → bool
-
post_stories: bit 14 of flags.14?true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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