Commit graph

4888 commits

Author SHA1 Message Date
Akshett Rai Jindal
e10af95add Mark BusinessConnectionId as serde(transparent) 2024-08-24 15:36:55 +05:30
Akshett Rai Jindal
17b3807d3f Use serde(flatten) for BusinessConnectionId 2024-08-24 15:29:52 +05:30
Akshett Rai Jindal
951c8f1438 Derive Default for BusinessIntro, BusinessLocation and BusinessOpeningHours 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
08d7d8f6b4 Move business_connection_id from Message to MessageCommon 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
cef553eeae Add serde default to can_connect_to_business in Me 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
21b164a416 Change some Option<bool> fields to bool in KeyboardButtonRequestUsers 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
ca5dddab54 Remove unecessary serde defaults and remove params from bool setters 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
31caa3ba04 Add more docs for business related structs 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
2f8e62f401 Use BusinessConnectionId instead of String for business_connection_id fields and parameters 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
ccc2c68751 Update docs and changelogs 2024-08-24 15:15:18 +05:30
Akshett Rai Jindal
c9eec050d0 Wrap Public variant of ChatKind in Box 2024-08-24 15:14:19 +05:30
Akshett Rai Jindal
057a37cea0 Update CHANGELOG.md to add changes related to #1146 2024-08-24 15:14:16 +05:30
Akshett Rai Jindal
336ae4f646 Fix tests for 'full' features 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
5040813737 Bump TBA version 2024-08-24 15:12:54 +05:30
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