StoryItem class
Story Item.
ID: af6365a1
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- StoryItemBase
- StoryItem
Constructors
-
StoryItem({required bool pinned, required bool public, required bool closeFriends, required bool min, required bool noforwards, required bool edited, required bool contacts, required bool selectedContacts, required bool out, required int id, required DateTime date, StoryFwdHeaderBase? fwdFrom, required DateTime expireDate, List<
MessageEntityBase> ? entities, required MessageMediaBase media, List<MediaAreaBase> ? mediaAreas, List<PrivacyRuleBase> ? privacy, StoryViewsBase? views, ReactionBase? sentReaction}) -
Story Item constructor.
const
- StoryItem.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
-
Caption.
final
- closeFriends → bool
-
close_friends: bit 8 of flags.8?true
final
- contacts → bool
-
contacts: bit 12 of flags.12?true
final
- date → DateTime
-
Date.
final
- edited → bool
-
edited: bit 11 of flags.11?true
final
-
entities
→ List<
MessageEntityBase> ? -
Entities.
final
- expireDate → DateTime
-
Expire Date.
final
- flags → int
-
Flags.
no setter
- fwdFrom → StoryFwdHeaderBase?
-
Fwd From.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Id.
final
- media → MessageMediaBase
-
Media.
final
-
mediaAreas
→ List<
MediaAreaBase> ? -
Media Areas.
final
- min → bool
-
min: bit 9 of flags.9?true
final
- noforwards → bool
-
noforwards: bit 10 of flags.10?true
final
- out → bool
-
out: bit 16 of flags.16?true
final
- pinned → bool
-
pinned: bit 5 of flags.5?true
final
-
privacy
→ List<
PrivacyRuleBase> ? -
Privacy.
final
- public → bool
-
public: bit 7 of flags.7?true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedContacts → bool
-
selected_contacts: bit 13 of flags.13?true
final
- sentReaction → ReactionBase?
-
Sent Reaction.
final
- views → StoryViewsBase?
-
Views.
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