Commit graph

4888 commits

Author SHA1 Message Date
Tima Kinsart
093377e3ff
Merge pull request #1141 from teloxide/dependabot/cargo/lock-459472fb58
Bump the lock group with 21 updates
2024-08-20 02:05:12 +00:00
dependabot[bot]
fb0b0506a4
Bump the lock group with 21 updates
Bumps the lock group with 21 updates:

| Package | From | To |
| --- | --- | --- |
| [serde_json](https://github.com/serde-rs/json) | `1.0.124` | `1.0.125` |
| [serde](https://github.com/serde-rs/serde) | `1.0.206` | `1.0.208` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.39.3` |
| [bitflags](https://github.com/bitflags/bitflags) | `1.3.2` | `2.4.2` |
| [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `0.7.20` | `1.1.2` |
| [syn](https://github.com/dtolnay/syn) | `1.0.109` | `2.0.52` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.1.10` | `1.1.13` |
| [cpufeatures](https://github.com/RustCrypto/utils) | `0.2.12` | `0.2.13` |
| [is-terminal](https://github.com/sunfishcode/is-terminal) | `0.4.12` | `0.4.13` |
| [js-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.69` | `0.3.70` |
| [libc](https://github.com/rust-lang/libc) | `0.2.155` | `0.2.158` |
| [serde_derive](https://github.com/serde-rs/serde) | `1.0.206` | `1.0.208` |
| [tower-layer](https://github.com/tower-rs/tower) | `0.3.2` | `0.3.3` |
| [tower-service](https://github.com/tower-rs/tower) | `0.3.2` | `0.3.3` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) | `0.2.92` | `0.2.93` |
| [wasm-bindgen-backend](https://github.com/rustwasm/wasm-bindgen) | `0.2.92` | `0.2.93` |
| [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) | `0.4.42` | `0.4.43` |
| [wasm-bindgen-macro](https://github.com/rustwasm/wasm-bindgen) | `0.2.92` | `0.2.93` |
| [wasm-bindgen-macro-support](https://github.com/rustwasm/wasm-bindgen) | `0.2.92` | `0.2.93` |
| [wasm-bindgen-shared](https://github.com/rustwasm/wasm-bindgen) | `0.2.92` | `0.2.93` |
| [web-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.69` | `0.3.70` |


Updates `serde_json` from 1.0.124 to 1.0.125
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125)

Updates `serde` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208)

Updates `tokio` from 1.39.2 to 1.39.3
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

Updates `bitflags` from 1.3.2 to 2.4.2
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.4.2)

Updates `aho-corasick` from 0.7.20 to 1.1.2
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.20...1.1.2)

Updates `syn` from 1.0.109 to 2.0.52
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.109...2.0.52)

Updates `cc` from 1.1.10 to 1.1.13
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.10...cc-v1.1.13)

Updates `cpufeatures` from 0.2.12 to 0.2.13
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.12...cpufeatures-v0.2.13)

Updates `is-terminal` from 0.4.12 to 0.4.13
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.12...v0.4.13)

Updates `js-sys` from 0.3.69 to 0.3.70
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Updates `libc` from 0.2.155 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158)

Updates `serde_derive` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208)

Updates `tower-layer` from 0.3.2 to 0.3.3
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-layer-0.3.2...tower-layer-0.3.3)

Updates `tower-service` from 0.3.2 to 0.3.3
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-service-0.3.2...tower-service-0.3.3)

Updates `wasm-bindgen` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Updates `wasm-bindgen-backend` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Updates `wasm-bindgen-futures` from 0.4.42 to 0.4.43
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Updates `wasm-bindgen-macro` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Updates `wasm-bindgen-macro-support` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Updates `wasm-bindgen-shared` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Updates `web-sys` from 0.3.69 to 0.3.70
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: aho-corasick
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: cpufeatures
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: is-terminal
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: js-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: libc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: serde_derive
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: tower-layer
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: tower-service
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-backend
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-futures
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-macro
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-macro-support
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-shared
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: web-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 09:12:28 +00:00
Сырцев Вадим Игоревич
3ee803d106
Merge pull request #1140 from shdwchn10/deps/pretty_env_logger-0.5
Bump pretty_env_logger to 0.5
2024-08-18 14:11:58 +00:00
Andrey Brusnik
1984960807
Bump pretty_env_logger to 0.5 2024-08-18 17:54:37 +04:00
Сырцев Вадим Игоревич
4df9487b6b
Merge pull request #1139 from LasterAlex/add-bot-mention-command-filter
Added mention_command filter
2024-08-18 11:42:11 +00:00
LasterAlex
55c70579a6
Addition to format 2024-08-18 14:23:50 +03:00
LasterAlex
9d591ac3e6
Added mention command filter to dispatching_reatures example 2024-08-18 13:54:09 +03:00
LasterAlex
8d9ca4d719
Added tests 2024-08-18 13:24:39 +03:00
LasterAlex
94c4955c49
Added bot_mention_command filter 2024-08-17 22:45:27 +03:00
Сырцев Вадим Игоревич
0d63d3a8ce
Merge pull request #1131 from shdwchn10/feature/tba-support/7.1
Add TBA 7.1 support
2024-08-17 18:56:20 +00:00
Andrey Brusnik
2ee1740228
Bump supported TBA version to 7.1 2024-08-17 21:21:28 +04:00
Andrey Brusnik
44cb9c1ef4
Add custom_emoji_sticker_set_name field and getter
to the `PublicChatSupergroup` struct
2024-08-17 21:21:28 +04:00
Andrey Brusnik
221742b98b
Add unrestrict_boost_count field and getter
to the `PublicChatSupergroup` struct
2024-08-17 21:21:28 +04:00
Andrey Brusnik
a362e1f825
Add chat and id fields to Story struct 2024-08-17 21:21:06 +04:00
Andrey Brusnik
7d4fd7e295
Add StoryId struct 2024-08-17 21:20:44 +04:00
Andrey Brusnik
7e4d29cf15
Add reply_to_story field to MessageCommon
also add `reply_to_story` getter to `Message` struct and `filter_reply_to_story` filter to `MessageFilterExt`
2024-08-17 21:20:00 +04:00
Andrey Brusnik
4905758a78
Add sender_boost_count field to MessageCommon struct 2024-08-17 21:20:00 +04:00
Andrey Brusnik
109454ed84
Add ChatBoostAdded variant to MessageKind enum
also add `boost_added` getter to `Message` struct and `filter_boost_added` filter to `MessageFilterExt`
2024-08-17 20:43:16 +04:00
Andrey Brusnik
02d7a3cd2e
Add ChatBoostAdded struct 2024-08-17 20:43:16 +04:00
Andrey Brusnik
9d45244efb
Updated docs for can_post_stories, can_edit_stories and can_delete_stories admin privileges 2024-08-17 20:43:15 +04:00
Сырцев Вадим Игоревич
a8970bb925
Merge pull request #1137 from teloxide/release-teloxide-core-v0.10.1
Release `teloxide-core` v0.10.1
2024-08-17 12:15:44 +00:00
Hirrolot
32561f96ed
Release teloxide-core v0.10.1 2024-08-17 16:40:53 +05:00
Tima Kinsart
eb31e14428
Merge pull request #1136 from syrtcevvi/fix/message_id_flatten_bug_multipart
Fix #1135
2024-08-17 11:15:04 +00:00
Сырцев Вадим Игоревич
f7a3441bdb
Update CHANGELOG.md 2024-08-17 12:02:44 +03:00
Сырцев Вадим Игоревич
dc691f780b
Fix #1135 2024-08-17 11:50:41 +03:00
Сырцев Вадим Игоревич
c765d1f14c
Merge pull request #1133 from LasterAlex/add-deep-linking-example
Added deep linking example
2024-08-16 19:31:56 +00:00
LasterAlex
18920b546f
Small fixes 2024-08-16 22:02:04 +03:00
LasterAlex
da2ce2b116
Fmt fix 2024-08-16 14:21:39 +03:00
LasterAlex
1181092bd5
Fixed review 2024-08-16 14:18:02 +03:00
LasterAlex
a4e4558eb1
Another cargo fmt fix + Cargo.lock update for examples? 2024-08-15 23:32:19 +03:00
LasterAlex
ab87451b62
Cargo fmt fix 2024-08-15 23:26:58 +03:00
LasterAlex
87c8557e36
Added deep linking example 2024-08-15 23:26:58 +03:00
Tima Kinsart
5a33f61486
Merge pull request #1132 from teloxide/release
Release `teloxide-macros` v0.8.0, `teloxide-core` v0.10.0, `teloxide` v0.13.0
2024-08-15 20:06:21 +00:00
Hirrolot
69328decc8
Update crates/teloxide-core/README.md 2024-08-16 00:58:30 +05:00
Hirrolot
f8acc4c57e
Just remove them 2024-08-16 00:44:48 +05:00
Hirrolot
13eae3a0bb
Release teloxide-macros v0.8.0, teloxide-core v0.10.0, teloxide v0.13.0 2024-08-16 00:31:40 +05:00
Tima Kinsart
cdd7d485bb
Merge pull request #1101 from syrtcevvi/feature/support-tba-7.0
Feature/support tba 7.0
2024-08-15 18:16:57 +00:00
Andrey Brusnik
ccdeb3f2b0
Test that all possible updates are specified in Kind::full_set() 2024-08-15 17:08:39 +04:00
Сырцев Вадим Игоревич
ae88d56e0d
Add filter_forward_origin 2024-08-15 17:08:39 +04:00
Сырцев Вадим Игоревич
3029dcdee6
Tweak MaybeInaccessibleMessage 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
0cb716a9ac
Add CallbackQuery::regular_message getter 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
a353439e3b
Add docs for MaybeInaccessibleMessage 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
96d7c8e022
Add missing parameters to ReplyParameters 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
fc29530fe7
Fix docs for CallbackQuery::message 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
565316aa7d
Add docs for ExternalReplyInfo 2024-08-15 17:08:05 +04:00
Сырцев Вадим Игоревич
65435ec430
Add RequestId type 2024-08-15 17:08:05 +04:00
Andrey Brusnik
3d4e25743e
Add FIXME to boost_id 2024-08-15 17:08:05 +04:00
Andrey Brusnik
25666a301c
Use CountryCode instead of String in Giveaway struct 2024-08-15 17:08:05 +04:00
Andrey Brusnik
4870338a75
Replace Option<bool> with bool in LinkPreviewOptions 2024-08-15 17:08:04 +04:00
Andrey Brusnik
ae88d60b4e
Fix comments in ReactionType enum 2024-08-15 17:08:04 +04:00