BSD-3-Clause licensed by Nickolay Kudasov
This version can be pinned in stack with:telegram-bot-simple-0.3.8@sha256:513fb1ce31c2af4221af6608ac7bed09a753a2e98bfd104f3f6ab082bd4eb9ab,3745
Module documentation for 0.3.8
Depends on 27 packages
(full list with versions):
aeson,
aeson-pretty,
base,
bytestring,
cron,
filepath,
hashable,
http-api-data,
http-client,
http-client-tls,
monad-control,
mtl,
pretty-show,
profunctors,
servant,
servant-client,
servant-multipart,
servant-multipart-api,
servant-multipart-client,
split,
stm,
telegram-bot-simple,
template-haskell,
text,
time,
transformers,
unordered-containers telegram-bot-simple


Easy to use library for building Telegram bots in Haskell.
Disclaimer: this library is under development.
It is usable for most stuff, but is still far from a stable release.
LambdaConf 2018 workshop
This library was featured in a LambdaConf 2018 workshop.
The supplementary materials for the workshop is available at https://github.com/fizruk/lambdaconf-2018-workshop.
Contributing
Contributions are welcome!
Feel free to ping me on GitHub, file an issue or submit a PR :)
Nick
0.3.8
- Fix notification disable mechanism in
sendDocument
function (see #54);
- Implement
getFile
and sendPhoto
API methods (see #49);
0.3.7
- Add inline mode support (see #45);
0.3.6
- Remove extra spaces, restore Tested-with (see #48);
- Add support of ghc 9 (see #47);
0.3.5
- Restore backward compatibility with older GHCs (see #40);
0.3.4
- Fix cron job, restrict dependency on cron (see #38, #39);
0.3.3
- Derive Hashable for MessageId (see #36);
0.3.2
- Implement forwardMessage API method (see #35);
- Add MarkdownV2 parse mode (see #33);
0.3.1
- Implement sendDocument function support. (see #31);
- Add Travis CI (see #32);
- Add MonadFail instance for UpdateParser (see #27);
0.3.0
- Add
underline
and strikethrough
MessageEntityTypes
(see #25);
- Fix for Stack 15 (see #24);
- Fix installation after breaking change in
servant-0.16
(see #21);
- Add
phonenumber
type (see #23);
- Add
cashtag
message entity type (close #19) (see #20);
- Feat/kick chat member (see #17);
- Feat/delete message method (see #16);
- Fix
startBotAsync
, add processActionsIndefinitely
(see #12);
- Add some badges to README (Hackage/Stackage/Travis) (see 11f13f3);
- Remove temporary
files/scripts
from repo (see 6bc9f48);
- Add info about LambdaConf 2018 workshop and contributing (see 1ba4d95);
- Add
Data.Monoid
import to fix builds on GHC 8.2 (see c798001);
0.2.0
-
Major changes:
-
Minor changes:
- Add
getEnvToken
helper (see ce7d1f7
);
- Add
IsString
instance for Telegram.Token
(see f105bb9
);
- Print Servant errors when
getUpdates
fails (see bc7c5bb
);
- Split
Telegram.Bot.Simple
into several submodules (see 8ed2783
);
- Add
withEffect
helper in Telegram.Bot.Simple.Eff
(see aebba52
);
- More Haddock documentation;
-
Fixes:
- Resolve #7 (see #8);
- Fix undefined in startBotAsync and add more documentation (see
7879066
);
- Fix inline buttons issue (see #10);