telegram-bot-api/docs/changelog.md

18 lines
720 B
Markdown
Raw Permalink Normal View History

2021-03-10 22:36:15 +01:00
# Change Log
2021-12-04 03:28:24 +01:00
## v5.4.0
2021-03-10 22:36:15 +01:00
- Remove all methods that return `(APIResponse, error)`.
- Use the `Request` method instead.
- For more information, see [Library Structure][library-structure].
- Remove all `New*Upload` and `New*Share` methods, replace with `New*`.
- Use different [file types][files] to specify if upload or share.
- Rename `UploadFile` to `UploadFiles`, accept `[]RequestFile` instead of a
single fieldname and file.
- Fix methods returning `APIResponse` and errors to always use pointers.
- Update user IDs to `int64` because of Bot API changes.
- Add missing Bot API features.
[library-structure]: ./getting-started/library-structure.md#methods
[files]: ./getting-started/files.md