CanPostStoryResultBoostNeeded class

The chat must be boosted first by Telegram Premium subscribers to post more stories. Call getChatBoostStatus to get current boost status of the chat

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

CanPostStoryResultBoostNeeded()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConstructor() → String
override
map<TResult extends Object?>({required TResult ok(CanPostStoryResultOk value), required TResult premiumNeeded(CanPostStoryResultPremiumNeeded value), required TResult boostNeeded(CanPostStoryResultBoostNeeded value), required TResult activeStoryLimitExceeded(CanPostStoryResultActiveStoryLimitExceeded value), required TResult weeklyLimitExceeded(CanPostStoryResultWeeklyLimitExceeded value), required TResult monthlyLimitExceeded(CanPostStoryResultMonthlyLimitExceeded value), required TResult liveStoryIsActive(CanPostStoryResultLiveStoryIsActive value)}) → TResult

Available on CanPostStoryResult, provided by the CanPostStoryResultExtensions extension

maybeMap<TResult extends Object?>({TResult ok(CanPostStoryResultOk value)?, TResult premiumNeeded(CanPostStoryResultPremiumNeeded value)?, TResult boostNeeded(CanPostStoryResultBoostNeeded value)?, TResult activeStoryLimitExceeded(CanPostStoryResultActiveStoryLimitExceeded value)?, TResult weeklyLimitExceeded(CanPostStoryResultWeeklyLimitExceeded value)?, TResult monthlyLimitExceeded(CanPostStoryResultMonthlyLimitExceeded value)?, TResult liveStoryIsActive(CanPostStoryResultLiveStoryIsActive value)?, required TResult orElse()}) → TResult

Available on CanPostStoryResult, provided by the CanPostStoryResultExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String