haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.CanSendStory

Synopsis

Documentation

data CanSendStory Source #

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

Constructors

CanSendStory 

Fields

  • chat_id :: Maybe Int

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