telegram-bot-api-7.0: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Methods.StopMessageLiveLocation

Synopsis

stopMessageLiveLocation

data StopMessageLiveLocationRequest Source #

Request parameters for stopMessageLiveLocation.

Constructors

StopMessageLiveLocationRequest 

Fields

Instances

Instances details
FromJSON StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

ToJSON StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

Generic StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

Associated Types

type Rep StopMessageLiveLocationRequest :: Type -> Type #

type Rep StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

type Rep StopMessageLiveLocationRequest = D1 ('MetaData "StopMessageLiveLocationRequest" "Telegram.Bot.API.Methods.StopMessageLiveLocation" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "StopMessageLiveLocationRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stopMessageLiveLocationChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe SomeChatId)) :*: S1 ('MetaSel ('Just "stopMessageLiveLocationMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageId))) :*: (S1 ('MetaSel ('Just "stopMessageLiveLocationInlineMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stopMessageLiveLocationReplyMarkup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InlineKeyboardMarkup)))))

stopMessageLiveLocation :: StopMessageLiveLocationRequest -> ClientM (Response (Either Bool Message)) Source #

Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.