module Web.Telegram.API.Bot.API
(
module API
, runClient
, runClient'
, TelegramBotAPI
, api
, Token (..)
, TelegramClient
) where
import Data.Proxy
import Servant.API
import Web.Telegram.API.Bot.API.Chats as API
import Web.Telegram.API.Bot.API.Core
import Web.Telegram.API.Bot.API.Edit as API
import Web.Telegram.API.Bot.API.Get as API
import Web.Telegram.API.Bot.API.Messages as API
import Web.Telegram.API.Bot.API.Queries as API
import Web.Telegram.API.Bot.API.Updates as API
import Web.Telegram.API.Bot.API.Payments as API
type TelegramBotAPI =
TelegramBotMessagesAPI
:<|> TelegramBotUpdatesAPI
:<|> TelegramBotChatsAPI
:<|> TelegramBotEditAPI
:<|> TelegramBotQueriesAPI
:<|> TelegramBotGetAPI
:<|> TelegramBotPaymentsAPI
api :: Proxy TelegramBotAPI
api = Proxy