Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
botBaseUrl :: Token -> BaseUrl Source #
defaultTelegramClientEnv :: Token -> IO ClientEnv Source #
Instances
Instances
Eq Token Source # | |
Show Token Source # | |
IsString Token Source # | |
Defined in Telegram.Bot.API.MakingRequests fromString :: String -> Token # | |
FromJSON Token Source # | |
Defined in Telegram.Bot.API.MakingRequests parseJSON :: Value -> Parser Token parseJSONList :: Value -> Parser [Token] | |
ToJSON Token Source # | |
Defined in Telegram.Bot.API.MakingRequests | |
ToHttpApiData Token Source # | |
Defined in Telegram.Bot.API.MakingRequests toUrlPiece :: Token -> Text toEncodedUrlPiece :: Token -> Builder toHeader :: Token -> ByteString toQueryParam :: Token -> Text | |
FromHttpApiData Token Source # | |
Defined in Telegram.Bot.API.MakingRequests parseUrlPiece :: Text -> Either Text Token parseHeader :: ByteString -> Either Text Token parseQueryParam :: Text -> Either Text Token |