haskell-tdlib-2.1.2.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.CanPostStory

Synopsis

Documentation

data CanPostStory Source #

Checks whether the current user can post a story on behalf of a chat; requires can_post_stories administrator right for supergroup and channel chats. Returns CanPostStoryResult

Constructors

CanPostStory 

Fields

  • chat_id :: Maybe Int

    Chat identifier. Pass Saved Messages chat identifier when posting a story on behalf of the current user