haskell-tdlib-2.0.63.0
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 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