- Helpers from
UpdateParser
module fixed,commandWithBotName
added (see #121);
- Fix inconsistency around
ParseMode
(see #114); - Fix
copyMessage
method (see #116); - Add CI via GitHub Actions (see #119);
- Fix GHC 9.0 compilation regression (see #120);
-
Add
MarkdownV2
toParseMode
haddock suggestion (see #110); -
Make package complaint with Telegram Bot API 6.0 (breaking changes included) (see #112):
WebAppInfo
data type added.KeyboardButton
,InlineKeyboardButton
extended withweb_app
record.SentWebAppMessage
data type added.answerWebAppQuery
method added.MenuButton
data type added.setChatMenuButton
,getChatMenuButton
methods added.ChatAdministratorRights
data type added.setMyDefaultAdministratorRights
,getMyDefaultAdministratorRights
methods added.⚠️ ChatMember
records changed:can_manage_voice_chats
renamed tocan_manage_video_chat
.⚠️ PromoteChatMemberRequest
records changed:can_manage_voice_chats
renamed tocan_manage_video_chats
.⚠️ Message
records changed:voice_chat_scheduled
,voice_chat_started
,voice_chat_ended
, andvoice_chat_participants_invited
renamed tovideo_chat_scheduled
,video_chat_started
,video_chat_ended
, andvideo_chat_participants_invited
correspondingly.
- Fix build on Windows (see #107);
- Add support
spoiler
message type andprotect_content
field for various methods (see #103);
- Fix GHC 9.0 compilation (see #102 );
- Add Payments methods (see #93);
- Add Passport methods (see #90);
- Resolve discrepancies with Bot API 5.5 (see #87, #88)
- Make
startPolling
polymorphic (see #86); - Add Updating messages methods (see #85) ;
- Add missing methods (see #83, #84);
- Add
GameBot
(see #82, #95); - Allow return different types in
BotM
(see #79, #98); - Fix
UserId
integer overflow (see #78); - Upgrade
EchoBot
example with sticker replies (see #77); - Refactor file uploads (see #76);
- Add Stickers methods (see #72, #73, #74 and #75);
- Refactor
FileInfo
(see #71); - Add Game methods (see #70);
- Fix
MessageId
integer overflow (see #69); - Add missing types (see #66, #81);
- Fix notification disable mechanism in
sendDocument
function (see #54); - Implement
getFile
andsendPhoto
API methods (see #49);
- Add inline mode support (see #45);
- Restore backward compatibility with older GHCs (see #40);
- Derive Hashable for MessageId (see #36);
- Implement sendDocument function support. (see #31);
- Add Travis CI (see #32);
- Add MonadFail instance for UpdateParser (see #27);
- Add
underline
andstrikethrough
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
, addprocessActionsIndefinitely
(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);
-
Major changes:
- Add bot jobs support (see
9e0424e
); - Add
Telegram.Bot.Simple.Debug
(see7db84c5
,49679d4
,5ba949b
); - Introduce
BotEnv
with model state and action queue (see98c869a
); - Add support for message editing (see
b7c83a4
); - Introduce
replyOrEdit
helper (seeecc21cd
); - Add useLatestUpdateInJobs helper to enable reply in jobs (see
385f9e6
,8a12ceb
,448bcd2
);
- Add bot jobs support (see
-
Minor changes:
- Add
getEnvToken
helper (seece7d1f7
); - Add
IsString
instance forTelegram.Token
(seef105bb9
); - Print Servant errors when
getUpdates
fails (seebc7c5bb
); - Split
Telegram.Bot.Simple
into several submodules (see8ed2783
); - Add
withEffect
helper inTelegram.Bot.Simple.Eff
(seeaebba52
); - More Haddock documentation;
- Add
-
Fixes: