telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Methods.StopMessageLiveLocation

Synopsis

stopMessageLiveLocation

data StopMessageLiveLocationRequest Source #

Request parameters for stopMessageLiveLocation.

Constructors

StopMessageLiveLocationRequest 

Fields

Instances

Instances details
Generic StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

Associated Types

type Rep StopMessageLiveLocationRequest :: Type -> Type #

FromJSON StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

ToJSON StopMessageLiveLocationRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.StopMessageLiveLocation

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-6.5-inplace" '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)))))

type StopMessageLiveLocation = "stopMessageLiveLocation" :> (ReqBody '[JSON] StopMessageLiveLocationRequest :> Post '[JSON] (Response (Either Bool Message))) Source #

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.