Commit Graph

9984 Commits

Author SHA1 Message Date
levlam
35124395a4 Use sharedUser/sharedChat in messageUserShared/messageChatShared. 2024-03-21 22:00:36 +03:00
levlam
cfa47d5283 Add td_api::sharedUser/sharedChat. 2024-03-21 21:53:39 +03:00
levlam
ee030cf5f7 Don't add standalone stickers to recent when they are sent. 2024-03-21 15:43:00 +03:00
levlam
c3e0a8022a Allow to add arbitrary WEBM stickers to recent and favorite. 2024-03-21 15:38:48 +03:00
levlam
5acff85fa9 Handle MESSAGE_IDS_MISMATCH errors. 2024-03-21 15:13:03 +03:00
levlam
f57e2a496f Add td_api::userPrivacySettingShowBirthdate. 2024-03-21 14:35:27 +03:00
levlam
ee2bdcfd1d Add td_api::userPrivacySettingRuleAllowPremiumUsers. 2024-03-21 14:31:41 +03:00
levlam
f361989c05 Add td_api::setBirthdate. 2024-03-21 14:04:40 +03:00
levlam
9b55b61983 Add userFullInfo.birthdate. 2024-03-20 23:56:03 +03:00
levlam
9255d32af1 Remove *_FULL flags. 2024-03-20 23:25:38 +03:00
levlam
7d0c93fcd9 Add td_api::birthdate. 2024-03-20 23:13:00 +03:00
levlam
7db0e34990 Register BusinessIntro files. 2024-03-20 19:40:10 +03:00
levlam
0e4dc27542 Add BusinessInfo dependencies. 2024-03-20 19:26:17 +03:00
levlam
9913390bfe Support businessRecipients.excluded_chat_ids. 2024-03-20 19:12:35 +03:00
levlam
49372ab4c2 Add message.is_from_offline flag. 2024-03-20 18:54:04 +03:00
levlam
f7ab032976 Add td_api::getCollectibleItemInfo. 2024-03-20 17:55:27 +03:00
levlam
22d2f6a98d Add td_api::getOwnedStickerSets. 2024-03-20 15:41:49 +03:00
levlam
fad7d022fb Add td_api::replaceStickerInSet. 2024-03-20 13:49:01 +03:00
levlam
87c9cc1db5 Add "business_intro_title_length_max" and "business_intro_message_length_max" options. 2024-03-19 15:31:17 +03:00
levlam
188a165938 Add td_api::setBusinessIntro. 2024-03-19 14:52:52 +03:00
levlam
e774ddab6e Improve field name. 2024-03-19 14:42:40 +03:00
levlam
74b3c23e4b Add intro to businessInfo. 2024-03-19 14:31:19 +03:00
levlam
dd0fb9486f Add class BusinessIntro. 2024-03-18 23:46:08 +03:00
levlam
b28e1d2fd8 Support via_bot_user_id in sendQuickReplyShortcutMessages. 2024-03-18 22:38:30 +03:00
levlam
dd69dcdfe3 Support server-side updateMessageID for messages.sendQuickReplyMessages. 2024-03-18 22:32:08 +03:00
levlam
cf55275b7d Allow to create sticker sets with suggested name for regular users. 2024-03-18 22:06:07 +03:00
levlam
facb3a43e5 Support updateBusinessConnection in getCurrentState. 2024-03-18 22:01:50 +03:00
levlam
4219c62ee2 Ignore business messages not from private chats. 2024-03-18 17:17:48 +03:00
levlam
7a4f77cc30 Process sent business message albums. 2024-03-18 16:51:16 +03:00
levlam
79967ca006 Process sent business messages. 2024-03-18 15:16:11 +03:00
levlam
444d47d440 tg_cli: get business connection when try to send a message to it. 2024-03-17 00:22:15 +03:00
levlam
630762e511 Support reply to messages in business messages. 2024-03-17 00:19:24 +03:00
levlam
af20344557 Add flag stickerSet,is_created. 2024-03-16 23:54:05 +03:00
levlam
b13e6288e9 Prefer animated stickers in searchStickers again. 2024-03-16 22:39:50 +03:00
levlam
6306a595d8 Allow methods for sticker set management for regular users. 2024-03-15 23:47:55 +03:00
levlam
b15bf856e2 Update thumbnail type only if it exists. 2024-03-15 23:35:16 +03:00
levlam
626e76fa90 Guess sticker format based on existing stickers for backward compatibility. 2024-03-15 21:35:24 +03:00
levlam
031010105a Correctly update thumbnails of stored in the database sticker sets. 2024-03-15 21:20:47 +03:00
levlam
9c7e0f6b22 Move sticker_format to inputSticker. 2024-03-15 21:08:30 +03:00
levlam
ce124d1a40 Support mixed-format sticker sets. 2024-03-15 15:24:59 +03:00
levlam
c4ceac218f Add businessConnection.user_chat_id. 2024-03-14 15:21:19 +03:00
levlam
dfec531af2 Improve td_api::businessConnection's field name. 2024-03-14 14:50:51 +03:00
levlam
74b62ccbf4 Add td_api::sendBusinessMessageAlbum. 2024-03-13 17:44:00 +03:00
levlam
1b448b93e5 Add and use MessageInputReplyTo::clone(). 2024-03-13 16:08:49 +03:00
levlam
6650e2e91c Support repair of missing file parts for UploadBusinessMedia. 2024-03-13 13:27:16 +03:00
levlam
13eed05a3d Support upload by URL in UploadBusinessMedia. 2024-03-13 13:02:22 +03:00
levlam
c46af3318d Add FileManager::delete_partial_remote_location_if_needed. 2024-03-12 18:52:23 +03:00
levlam
4a64803805 Support media upload to business connection. 2024-03-12 16:26:43 +03:00
levlam
9dc83f2594 tg_cli: add updateNewBusinessMessage handling. 2024-03-12 14:39:03 +03:00
levlam
2ec98338f4 Use AccessRights::Know to get business input peer. 2024-03-12 14:16:47 +03:00