Channel class
Channel.
ID: 0aadfc8f
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- ChatBase
- Channel
Constructors
-
Channel({required bool creator, required bool left, required bool broadcast, required bool verified, required bool megagroup, required bool restricted, required bool signatures, required bool min, required bool scam, required bool hasLink, required bool hasGeo, required bool slowmodeEnabled, required bool callActive, required bool callNotEmpty, required bool fake, required bool gigagroup, required bool noforwards, required bool joinToSend, required bool joinRequest, required bool forum, required bool storiesHidden, required bool storiesHiddenMin, required int id, int? accessHash, required String title, String? username, required ChatPhotoBase photo, required DateTime date, List<
RestrictionReasonBase> ? restrictionReason, ChatAdminRightsBase? adminRights, ChatBannedRightsBase? bannedRights, ChatBannedRightsBase? defaultBannedRights, int? participantsCount, List<UsernameBase> ? usernames, int? storiesMaxId, PeerColorBase? color, PeerColorBase? profileColor, EmojiStatusBase? emojiStatus, int? level}) -
Channel constructor.
const
- Channel.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- accessHash → int?
-
Access Hash.
final
- adminRights → ChatAdminRightsBase?
-
Admin Rights.
final
- bannedRights → ChatBannedRightsBase?
-
Banned Rights.
final
- broadcast → bool
-
broadcast: bit 5 of flags.5?true
final
- callActive → bool
-
call_active: bit 23 of flags.23?true
final
- callNotEmpty → bool
-
call_not_empty: bit 24 of flags.24?true
final
- color → PeerColorBase?
-
Color.
final
- creator → bool
-
creator: bit 0 of flags.0?true
final
- date → DateTime
-
Date.
final
- defaultBannedRights → ChatBannedRightsBase?
-
Default Banned Rights.
final
- emojiStatus → EmojiStatusBase?
-
Emoji Status.
final
- fake → bool
-
fake: bit 25 of flags.25?true
final
- flags → int
-
Flags.
no setter
- flags2 → int
-
Flags2.
no setter
- forum → bool
-
forum: bit 30 of flags.30?true
final
- gigagroup → bool
-
gigagroup: bit 26 of flags.26?true
final
- hasGeo → bool
-
has_geo: bit 21 of flags.21?true
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLink → bool
-
has_link: bit 20 of flags.20?true
final
- id → int
-
Id.
final
- joinRequest → bool
-
join_request: bit 29 of flags.29?true
final
- joinToSend → bool
-
join_to_send: bit 28 of flags.28?true
final
- left → bool
-
left: bit 2 of flags.2?true
final
- level → int?
-
Level.
final
- megagroup → bool
-
megagroup: bit 8 of flags.8?true
final
- min → bool
-
min: bit 12 of flags.12?true
final
- noforwards → bool
-
noforwards: bit 27 of flags.27?true
final
- participantsCount → int?
-
Participants Count.
final
- photo → ChatPhotoBase
-
Photo.
final
- profileColor → PeerColorBase?
-
Profile Color.
final
- restricted → bool
-
restricted: bit 9 of flags.9?true
final
-
restrictionReason
→ List<
RestrictionReasonBase> ? -
Restriction Reason.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scam → bool
-
scam: bit 19 of flags.19?true
final
- signatures → bool
-
signatures: bit 11 of flags.11?true
final
- slowmodeEnabled → bool
-
slowmode_enabled: bit 22 of flags.22?true
final
- storiesHidden → bool
-
stories_hidden: bit 1 of flags2.1?true
final
- storiesHiddenMin → bool
-
stories_hidden_min: bit 2 of flags2.2?true
final
- storiesMaxId → int?
-
Stories Max Id.
final
-
stories_unavailable: bit 3 of flags2.3?true
final
- title → String
-
Title.
final
- username → String?
-
Username.
final
-
usernames
→ List<
UsernameBase> ? -
Usernames.
final
- verified → bool
-
verified: bit 7 of flags.7?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