haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputStoryAreaType

Synopsis

Documentation

data InputStoryAreaType Source #

Describes type of clickable area on a story media to be added

Constructors

InputStoryAreaTypeLocation

An area pointing to a location

Fields

InputStoryAreaTypeFoundVenue

An area pointing to a venue found by the bot getOption("venue_search_bot_username")

Fields

InputStoryAreaTypePreviousVenue

An area pointing to a venue already added to the story

Fields

InputStoryAreaTypeSuggestedReaction

An area pointing to a suggested reaction

Fields

InputStoryAreaTypeMessage

An area pointing to a message

Fields

  • chat_id :: Maybe Int

    Identifier of the chat with the message. Currently, the chat must be a supergroup or a channel chat

  • message_id :: Maybe Int

    Identifier of the message. Use messageProperties.can_be_shared_in_story to check whether the message is suitable

InputStoryAreaTypeLink

An area pointing to a HTTP or tg:// link

Fields

  • url :: Maybe Text

    HTTP or tg:// URL to be opened when the area is clicked

InputStoryAreaTypeWeather

An area with information about weather

Fields