Copyright | (c) Justus Adam 2017 |
---|---|
License | BSD3 |
Maintainer | dev@justus.science |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- data TelegramAdapter updateType
- data Poll
- data TelegramChat = TelegramChat Integer ChatType (Maybe Text) (Maybe Text) (Maybe Text)
- data ChatType
- data TelegramUser = TelegramUser Integer Text (Maybe Text) (Maybe Text)
- class MkTelegram a
Documentation
data TelegramAdapter updateType Source #
The telegram adapter type for a particular update type. Either Push
or Poll
MkTelegram a => IsAdapter (TelegramAdapter a) Source # | |
type User (TelegramAdapter a) Source # | |
type Channel (TelegramAdapter a) Source # | |
data TelegramChat Source #
A telegram chat object as contained in telegram updates
Chat type as defined by the telegram api
data TelegramUser Source #
A user object as contained in the telegram update objects
class MkTelegram a Source #
Class to enable polymorphism over update mechanics for TelegramAdapter
mkEventGetter, mkAdapterId