ChatBannedRights class
Chat Banned Rights.
ID: 9f120418
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- ChatBannedRightsBase
- ChatBannedRights
Constructors
- ChatBannedRights({required bool viewMessages, required bool sendMessages, required bool sendMedia, required bool sendStickers, required bool sendGifs, required bool sendGames, required bool sendInline, required bool embedLinks, required bool sendPolls, required bool changeInfo, required bool inviteUsers, required bool pinMessages, required bool manageTopics, required bool sendPhotos, required bool sendVideos, required bool sendRoundvideos, required bool sendAudios, required bool sendVoices, required bool sendDocs, required bool sendPlain, required DateTime untilDate})
-
Chat Banned Rights constructor.
const
- ChatBannedRights.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- changeInfo → bool
-
change_info: bit 10 of flags.10?true
final
- embedLinks → bool
-
embed_links: bit 7 of flags.7?true
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviteUsers → bool
-
invite_users: bit 15 of flags.15?true
final
- manageTopics → bool
-
manage_topics: bit 18 of flags.18?true
final
- pinMessages → bool
-
pin_messages: bit 17 of flags.17?true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendAudios → bool
-
send_audios: bit 22 of flags.22?true
final
- sendDocs → bool
-
send_docs: bit 24 of flags.24?true
final
- sendGames → bool
-
send_games: bit 5 of flags.5?true
final
- sendGifs → bool
-
send_gifs: bit 4 of flags.4?true
final
- sendInline → bool
-
send_inline: bit 6 of flags.6?true
final
- sendMedia → bool
-
send_media: bit 2 of flags.2?true
final
- sendMessages → bool
-
send_messages: bit 1 of flags.1?true
final
- sendPhotos → bool
-
send_photos: bit 19 of flags.19?true
final
- sendPlain → bool
-
send_plain: bit 25 of flags.25?true
final
- sendPolls → bool
-
send_polls: bit 8 of flags.8?true
final
- sendRoundvideos → bool
-
send_roundvideos: bit 21 of flags.21?true
final
- sendStickers → bool
-
send_stickers: bit 3 of flags.3?true
final
- sendVideos → bool
-
send_videos: bit 20 of flags.20?true
final
- sendVoices → bool
-
send_voices: bit 23 of flags.23?true
final
- untilDate → DateTime
-
Until Date.
final
- viewMessages → bool
-
view_messages: bit 0 of flags.0?true
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