haskell-tdlib-2.0.61.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.CanPostStoryResult

Synopsis

Documentation

data CanPostStoryResult Source #

Represents result of checking whether the current user can post a story on behalf of the specific chat

Constructors

CanPostStoryResultOk

A story can be sent

Fields

CanPostStoryResultPremiumNeeded

The user must subscribe to Telegram Premium to be able to post stories

CanPostStoryResultBoostNeeded

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

CanPostStoryResultActiveStoryLimitExceeded

The limit for the number of active stories exceeded. The user can buy Telegram Premium, delete an active story, or wait for the oldest story to expire

CanPostStoryResultWeeklyLimitExceeded

The weekly limit for the number of posted stories exceeded. The user needs to buy Telegram Premium or wait specified time

Fields

CanPostStoryResultMonthlyLimitExceeded

The monthly limit for the number of posted stories exceeded. The user needs to buy Telegram Premium or wait specified time

Fields