- fix: add 'omitempty' to LinkPreviewOptions.URL
- support API v7.0
- Fix typo for setChatDescription params (#49)
- add example handler_match_func
- add function bot.FileDownloadLink
- add missed field HasSpoiler to InputMedia types
- json tag typo fix (#41) vvok12*
- support bot api 6.9
- support bot api 6.8
- update
defaultUpdatesChanCap
from 64 to 1024
- revert
v0.7.7
changes
- check for empty token on bot init
- add missed ChatID to BotCommandScopeChat
- add missed BotCommandScopeChatAdministrators.MarshalCustom
- add ChatAction type with consts for
sendChatAction
method
- add option
WithSkipGetMe()
- [BUGFIX] fix type of field
Message.ReplyMarkup
(#30) - improve examples (#31)
- change
models.ReplyMarkup
fromany
to interface
- support bot api 6.7
- add option
WithDebugHandler
- [BUGFIX] change field
SendPollParams.IsAnonymous
to *bool (#26) - add helpers
bot.True()
andbot.False()
for define *bool values
- make
bot.ProcessUpdate
public
- fix copyMessage method (#24)
- fix field name in MenuButtonWebApp #21
- support bot api 6.6
- [BREAKING] change UserID field type in methods params and models from
int
toint64
#19
- [BUGFIX] send http.NoBody if all params fields are empty. For example, method
getMyCommands
has not required fields
- support bot api 6.5
- [BUGFIX] SendChatAction now calls
sendChatAction
insteadsendDice
- [BUGFIX] change field Thumb to InputFile type
- add func
EscapeMarkdownUnescaped
for escape only unescaped symbols
- [BREAKING] change some types from
int
toint64
#11
- support bot api 6.4
- add
RegisterHandlerMatchFunc
- fix field type SendDocumentParams.Document from string to InputFile, add example
- support bot api 6.3
- [API CHANGE] method New now call
getMe
after init and returns error as second result on fail
- support bot api v6.2
- support bot api v6.1
- change API. Use bot funcs instead of
methods
package.
- add webhook support
- API refactoring
- use bot.GetUpdates() instead of bot.Start()
- initial release