haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.CanSendStoryResult

Synopsis

Documentation

data CanSendStoryResult Source #

Represents result of checking whether the current user can send a story in the specific chat

Constructors

CanSendStoryResultOk

A story can be sent

CanSendStoryResultPremiumNeeded

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

CanSendStoryResultBoostNeeded

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

CanSendStoryResultActiveStoryLimitExceeded

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

CanSendStoryResultWeeklyLimitExceeded

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

Fields

CanSendStoryResultMonthlyLimitExceeded

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

Fields