- support API v8.1
- fix CreateNewStickerSetParams (#132)
- support API v8.0
- Fix arm64 panic (#130)
- support API v7.11
- fix unmarshal
ChatBackground
type (#126)
- IMPORTANT! New option
WithNotAsyncHandlers
allows to run handlers in the main goroutine. Now, by default, all handlers are run in separate goroutines.
- add method GetBusinessConnection (#123)
- add function
bot.SetToken
- update GitHub action versions
- change field type
FromChatID
from string to any forForwardMessageParams
,ForwardMessagesParams
,CopyMessageParams
andCopyMessagesParams
params
- change handlers map to slice (#115)
- feat: Ability to process updates across multiple gorutines (#112)
- add 'HandlerTypeCallbackQueryGameShortName' (#108)
- feat: add middlewares for handler (#105)
- support API v7.10
- change type for field Type in models.Chat and models.ChatFullInfo from
string
tomodels.ChatType
- add consts for ChatType
- models.ChatTypePrivate
- models.ChatTypeGroup
- models.ChatTypeSupergroup
- models.ChatTypeChannel
- Fix findHandler behavior
- fix: pass error with
%w
instead%v
after rawRequest
- add option
UseTestEnvironment
for use test environment in API requests
- support API v7.9
- add ValidateWebappRequest func for validate MiniApp requests
- support API v7.6, 7.7
- add const
models.ParseModeMarkdownV1
- support API v7.5
- fix: getGameHighScores returns an array of high scores instead of a single object (#94)
- Use any type for ChatID in SetGameScoreParams and GetGameHighScoreParams (#88)
- support API v7.4
- add Marshal functions for struct with many types
- ChatBoostSource
- ChatBackground
- ChatMember
- MenuButton
- MaybeInaccessibleMessage
- ReactionType
- MessageOrigin
- support API v7.3
- fix race in test
- add example inline_keyboard_multiselect
- Added error handling for specific error codes (#69)
- fix: exit from waitUpdates function when context is terminated (#75)
- support API v7.2
- remove worker pool
- add option
WithUpdatesChannelCap
- add error
ErrorForbidden
for responses with error code 403 - fix CopyMessages capture response
- ForwardMessages properly unmarshal result (#68)
- ForwardMessages return slice of MessageID (#66)
- add option WithAllowedUpdates (#65)
- fix
CallbackQuery.Message
field type fromInaccessibleMessage
toMaybeInaccessibleMessage
- fix json tag for DeleteMessagesParams.MessageIDs
- fix SetMessageReaction marshal func, fix get response for this method
- fix typo in json tag
models.UsersShared
for field UserIDs
- support API v7.1
- 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