Safe Haskell | None |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Methods.GetBusinessConnection
Contents
Synopsis
- type GetBusinessConnection = "getBusinessConnection" :> (RequiredQueryParam "business_connection_id" BusinessConnectionId :> Post '[JSON] (Response BusinessConnection))
- getBusinessConnection :: BusinessConnectionId -> ClientM (Response BusinessConnection)
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.