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

Telegram.Bot.API.Methods.GetBusinessConnection

Synopsis

getBusinessConnection

type GetBusinessConnection = "getBusinessConnection" :> (RequiredQueryParam "business_connection_id" BusinessConnectionId :> Post '[JSON] (Response BusinessConnection)) Source #

getBusinessConnection :: BusinessConnectionId -> ClientM (Response BusinessConnection) Source #

Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.