Commit graph

4824 commits

Author SHA1 Message Date
Akshett Rai Jindal
68b7aba836 Add method getBusinessConnection 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
7fe9278ce8 Add DeletedBusinessMessages variant to UpdateKind 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
b15d85ec0a Move BusinessOpeningHoursInterval to separate file 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
f6c957182f Add BusinessMessagesDeleted struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
0efb15aa6a Add EditedBusinessMessage variant to UpdateKind 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
9e57d3acff Add BusinessMessage variant to UpdateKind enum 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2fe5daccff Add BusinessConnection variant to UpdateKind enum 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
e8afdc58fc Add BusinessConnection struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
6bec7a84ff Add business_opening_hours field to ChatPrivate 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
47fd589ea2 Add BusinessOpeningHoursInterval and BusinessOpeningHours structs 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
f84e15a0a6 Add BusinessLocation class and corresp. field to ChatPrivate 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
fa17b48793 Add BusinessIntro class and corres. field to ChatPrivate 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
1a5eca0a75 Add business conn. related fields to Message
Added `sender_business_bot` and `business_connection_id` fields
2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
941d1eb82a Add business_connection_id to add Send* methods except SendInvoice 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
78f909e621 Update documentation of sendSticker method 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
cf1b73b8b2 Add format parameter to SetStickerSetThumbnail 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2655607320 Remove sticker_format parameter from CreateNewStickerSet 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
590d46477f Add format field to InputSticker struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
924affbdde Remove flags field from StickerSet struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
d92ba9c12a Add title, username and photo to ChatShared 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
cc8df7a32e Add SharedUser struct and add to UsersShared 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
a48d071456 Make setters of KeyboardButtonRequestUsers must use 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
e1f1b4e874 Add request_* fields to KeyboardButtonRequestChat
Added fields are `request_title`, `request_username` and `request_photo`
2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
550d306f65 Fix broken tests due to addition of birthdate 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
df416079f0 Add request_* fields to KeyboardButtonRequestUsers struct
Added fields: `request_name`, `request_username` and `request_photo`
2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
cb8ff44b09 Add Birthdate struct and corresponding field in ChatPrivate 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2265141030 Add replaceStickerInSet TBA method 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
b534a09633 Add personal_chat field to ChatPrivate struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
5a533ebc34 Add can_connect_to_business field to Me struct 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
8314780959 Add is_from_offline field to MessageCommon struct 2024-08-24 15:12:54 +05:30
jc
4b05e9dd69 Replace Currency enum with String, mention XTR special currency in docs 2024-08-24 13:01:51 +04:00
Tima Kinsart
ae83ff15a2
Merge pull request #1134 from syrtcevvi/fix/more-rusty-api
Add `MaybeAnonymousUser` type
2024-08-23 12:38:14 +00:00
Сырцев Вадим Игоревич
765468224c
Fix nitpicks 2024-08-23 15:32:28 +03:00
Сырцев Вадим Игоревич
79147a9baa
Add MaybeAnonymousUser type 2024-08-23 15:23:29 +03:00
Сырцев Вадим Игоревич
f8ffdcbfa3
Merge pull request #1145 from LasterAlex/fix-deserializing
Added default to serialized fields, so they can be deserialized
2024-08-21 20:31:48 +00:00
LasterAlex
6959329c03
Added default to serialized fields, so they can be deserialized 2024-08-20 23:38:54 +03:00
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