levlam
|
f792e9d45e
|
Don't check permissions for added local messages.
|
2023-11-29 14:17:49 +03:00 |
|
levlam
|
fb03b92fa2
|
Don't warn if entity lanaguage code is added by the server.
|
2023-11-28 14:57:30 +03:00 |
|
levlam
|
ec109dfd4a
|
Move speech recognition to TranscriptionManager.
|
2023-11-23 13:25:56 +03:00 |
|
levlam
|
b28200e0ef
|
Add messageChatSetBackground.only_for_self.
|
2023-11-10 13:55:59 +03:00 |
|
levlam
|
4f6ac3cd64
|
Ignore reply_to_message_id if set new background.
|
2023-11-10 13:45:18 +03:00 |
|
levlam
|
9c88451e1c
|
Add td_api::messagePremiumGiveawayCompleted.
|
2023-11-09 20:28:27 +03:00 |
|
levlam
|
d20ed201b0
|
Update layer to 167.
|
2023-11-09 19:37:26 +03:00 |
|
levlam
|
07c1d53a6d
|
Fix can_send_message_content for stickers.
|
2023-11-22 14:38:22 +03:00 |
|
levlam
|
10dda3df77
|
Expect no access to messageMediaStory's chat.
|
2023-11-09 01:42:20 +03:00 |
|
levlam
|
21d5184e9f
|
Improve RepliedMessageInfo::get_same_chat_reply_to_message_id.
|
2023-11-07 03:43:48 +03:00 |
|
levlam
|
08359b46fc
|
Improve RepliedMessageInfo::get_reply_message_full_id.
|
2023-11-07 02:48:01 +03:00 |
|
levlam
|
baed5606fb
|
Prevent unloading of replied polls.
|
2023-11-06 20:37:17 +03:00 |
|
levlam
|
e9bf274f33
|
Log if link preview is disabled, but still present.
|
2023-11-06 15:59:10 +03:00 |
|
levlam
|
32cee07888
|
Fix MessageGiveawayLaunch.
|
2023-11-06 15:30:02 +03:00 |
|
levlam
|
3b0e6420e0
|
Minor improvements.
|
2023-11-03 17:00:22 +03:00 |
|
levlam
|
c7d252bdc5
|
Ignore force_small_media if there is force_large_media.
|
2023-11-01 23:23:45 +03:00 |
|
levlam
|
672981afad
|
Ignore disable_web_page_preview if there is no URL to preview.
|
2023-11-01 22:25:28 +03:00 |
|
levlam
|
d6b3a77899
|
Return Slice from get_first_url().
|
2023-11-01 22:13:29 +03:00 |
|
levlam
|
46d188e35c
|
Return full link_preview_options in messageText.
|
2023-11-01 21:55:12 +03:00 |
|
levlam
|
2ad5a86fa7
|
Fix DialogParticipantStatus::get_effective_restricted_rights().
|
2023-10-31 13:27:56 +03:00 |
|
levlam
|
6ca71be27d
|
Fix warning.
|
2023-10-30 23:17:39 +03:00 |
|
levlam
|
e86539c015
|
Support story sender channel in get_message_content_min_channel_ids.
|
2023-10-27 14:04:09 +03:00 |
|
levlam
|
ec231f0c99
|
Add inputMessageReplyToMessage.quote.
|
2023-10-27 13:06:38 +03:00 |
|
levlam
|
10e2decf4b
|
Add and use RepliedMessageInfo::get_file_ids.
|
2023-10-27 01:50:32 +03:00 |
|
levlam
|
d8430c5681
|
Add and use WebPagesManager::get_web_page_channel_ids.
|
2023-10-27 01:44:11 +03:00 |
|
levlam
|
5b9731a974
|
Support RepliedMessageInfo in *FromMessage.
|
2023-10-27 01:41:15 +03:00 |
|
levlam
|
9260d38618
|
Support giveaway channels in *ChannelFromMessage.
|
2023-10-27 00:34:33 +03:00 |
|
levlam
|
11c20c0417
|
Add messagePremiumGiveaway.sticker.
|
2023-10-26 23:22:53 +03:00 |
|
levlam
|
e50a3ce18c
|
Add messageReplyToMessage.content.
|
2023-10-26 22:53:25 +03:00 |
|
levlam
|
e113fb47f1
|
Add compare_message_contents function.
|
2023-10-26 18:50:16 +03:00 |
|
levlam
|
4425eadc3c
|
Pass default DialogId to get_reply_message_full_id.
|
2023-10-24 18:54:32 +03:00 |
|
levlam
|
cb70dd7831
|
Add class RepliedMessageInfo.
|
2023-10-24 12:04:45 +03:00 |
|
levlam
|
d9d3d492ff
|
Add messagePremiumGiftCode.is_unclaimed.
|
2023-10-23 17:37:54 +03:00 |
|
levlam
|
2bbb0ed0ec
|
Add linkPreviewOptions.show_above_text.
|
2023-10-22 00:50:19 +03:00 |
|
levlam
|
cb51944cb7
|
Add webPage.show_above_text.
|
2023-10-21 21:33:46 +03:00 |
|
levlam
|
21ef7d0f6c
|
Disallow restricted member status in channels.
|
2023-10-19 22:37:44 +03:00 |
|
levlam
|
88199d1865
|
Skip confirmation in link preview opening for visible URLs.
|
2023-10-19 13:20:48 +03:00 |
|
levlam
|
4194d9478b
|
Add webPage.skip_confirmation.
|
2023-10-19 13:03:27 +03:00 |
|
levlam
|
20de4b3135
|
Remove get_message_content_object parameter.
|
2023-10-17 16:20:45 +03:00 |
|
levlam
|
72cb3665b4
|
Allow empty text witn non-empty link preview.
|
2023-10-17 02:07:40 +03:00 |
|
levlam
|
af2f07a1d7
|
Support telegram_api::botInlineMessageMediaWebPage.
|
2023-10-17 01:55:37 +03:00 |
|
levlam
|
cc08225d30
|
Always use the first URL as web_page_url in secret chats.
|
2023-10-17 00:37:44 +03:00 |
|
levlam
|
c6a4510779
|
Clear web_page_url in outgoing messages if preview is disabled.
|
2023-10-17 00:08:50 +03:00 |
|
levlam
|
6917503e5e
|
Remove WebPagesManager::get_secret_input_media.
|
2023-10-16 23:18:43 +03:00 |
|
levlam
|
4f6f976e50
|
Log if expected web_page_url isn't found.
|
2023-10-16 23:09:17 +03:00 |
|
levlam
|
b0df339750
|
Ignore force_*_media if url isn't specified exlicitly.
|
2023-10-16 23:06:48 +03:00 |
|
levlam
|
cdedb9ee1f
|
Return web_page_url in messageText.
|
2023-10-16 22:33:53 +03:00 |
|
levlam
|
b9e7c8d7da
|
Use messages.sendMedia to send text messages with custom URLs.
|
2023-10-16 20:41:39 +03:00 |
|
levlam
|
d16fc8294c
|
Add td_api::linkPreviewOptions.
|
2023-10-16 20:12:33 +03:00 |
|
levlam
|
104727cb75
|
Add webPage.force_*_media flags.
|
2023-10-16 17:36:45 +03:00 |
|
levlam
|
8185dbfecc
|
Add messageText.is_web_page_preview_manually_chosen.
|
2023-10-16 17:02:06 +03:00 |
|
levlam
|
8d55df14a0
|
Support web page flags in messageMediaWebPage.
|
2023-10-16 16:47:22 +03:00 |
|
levlam
|
84d628f05d
|
Add td_api::messagePremiumGiveawayCreated.
|
2023-10-16 11:31:11 +03:00 |
|
levlam
|
294538ec5b
|
Disallow copying of Giveaway messages.
|
2023-10-14 22:04:47 +03:00 |
|
levlam
|
cae7ba79ed
|
Add sticker to messagePremiumGiftCode.
|
2023-10-13 16:06:55 +03:00 |
|
levlam
|
580e856f44
|
Support giveaway forwarding.
|
2023-10-13 12:47:34 +03:00 |
|
levlam
|
f31635e9a8
|
Support country code restrictions for giveaways.
|
2023-10-12 18:58:40 +03:00 |
|
levlam
|
3dea942078
|
Add td_api::premiumGiveawayParameters.
|
2023-10-12 17:05:03 +03:00 |
|
levlam
|
d20ddeb65c
|
Add td_api::messagePremiumGiveaway.
|
2023-09-30 00:32:39 +03:00 |
|
levlam
|
1ebbd360db
|
Add td_api::messagePremiumGiftCode.
|
2023-09-29 17:55:03 +03:00 |
|
levlam
|
bd36f48054
|
Update layer to 166.
|
2023-09-28 16:13:36 +03:00 |
|
AYMEN Mohammed
|
50c3bf2e4f
|
Fix typos. (#2641)
|
2023-10-18 19:12:31 +03:00 |
|
levlam
|
8abe652785
|
Don't allow forward of stories to secret chats.
|
2023-10-14 02:47:49 +03:00 |
|
levlam
|
b5bf594662
|
Improve messageBotWriteAccessAllowed class.
|
2023-09-28 15:15:00 +03:00 |
|
levlam
|
74679944af
|
Remove error-prone server_time_cached.
|
2023-10-04 12:24:58 +03:00 |
|
levlam
|
5c93447ade
|
Increase MessageUnsupported version to reget messages with boost links.
|
2023-09-28 19:04:50 +03:00 |
|
levlam
|
2de39ffffe
|
Fix can_have_input_media for stories.
|
2023-09-23 16:33:34 +03:00 |
|
levlam
|
1e2c0ce814
|
Rename FullMessageId to MessageFullId.
|
2023-09-21 19:11:17 +03:00 |
|
levlam
|
82c702c16d
|
Minor improvements.
|
2023-09-19 21:59:14 +03:00 |
|
levlam
|
153ff5503b
|
Update layer to 164.
|
2023-08-15 22:45:37 +03:00 |
|
levlam
|
5ebbda1c26
|
Add td_api::MessageSelfDestructType.
|
2023-09-06 21:27:45 +03:00 |
|
levlam
|
aec04a2d01
|
Support immediately disappearing photos and videos.
|
2023-09-06 20:45:15 +03:00 |
|
levlam
|
249da789e7
|
Add messageBotWriteAccessAllowed.by_request.
|
2023-08-25 16:53:50 +03:00 |
|
levlam
|
1a2bfad094
|
Move message content self-destruct time checks to create_input_message_content.
|
2023-08-29 18:51:57 +03:00 |
|
levlam
|
a0990ef2fd
|
Various fixes.
|
2023-08-15 17:45:16 +03:00 |
|
levlam
|
b12ade01f6
|
Add more checks for server StoryId.
|
2023-08-10 20:22:12 +03:00 |
|
levlam
|
7f4e614bfe
|
Add td_api::inputStoryArea.
|
2023-08-01 18:11:30 +03:00 |
|
levlam
|
9dcfd9d66d
|
Add ReactionManager and move there all reaction-related methods from StickersManager.
|
2023-08-09 12:59:48 +03:00 |
|
levlam
|
d2add02ac9
|
Move get_sorted_available_reactions to StickersManager.
|
2023-08-09 12:07:13 +03:00 |
|
levlam
|
451c559539
|
Add various checks.
|
2023-07-23 01:41:59 +03:00 |
|
levlam
|
fa1e7a1eab
|
Fix get_message_content_min_user_ids.
|
2023-07-14 14:04:16 +03:00 |
|
levlam
|
558305046c
|
Use get_story_force if appropriate.
|
2023-07-10 16:50:01 +03:00 |
|
levlam
|
82b524de0a
|
Create chats for received story identifiers.
|
2023-07-10 16:39:49 +03:00 |
|
levlam
|
4ae098c3a8
|
Add StoryFullId to dependencies.
|
2023-07-10 15:36:38 +03:00 |
|
levlam
|
aed9823659
|
Fix dup_story_content.
|
2023-07-05 15:40:08 +03:00 |
|
levlam
|
b04eeb4d87
|
Ignore parsed MessageContent of unknown type.
|
2023-07-03 15:46:31 +03:00 |
|
levlam
|
2bf47d0809
|
Minor fixes.
|
2023-07-01 16:22:01 +03:00 |
|
levlam
|
bcf9ff7d43
|
Explicitly include telegram_api.h in cpp files.
|
2023-07-01 14:53:04 +03:00 |
|
levlam
|
3a3ae9eabf
|
Explicitly pass Td to Location constructor and don't register locations for bots.
|
2023-06-28 19:01:00 +03:00 |
|
levlam
|
d3e0372b14
|
Use Chat as owner of stories in td_api.
|
2023-06-27 21:51:36 +03:00 |
|
levlam
|
8d7262836b
|
Remove incorrect "ignored" comments in conversion from secret chat objects.
|
2023-06-23 16:28:48 +03:00 |
|
levlam
|
c34b4c3ef7
|
Add storyVideo.is_animation.
|
2023-06-23 16:06:02 +03:00 |
|
levlam
|
ebac96e7ec
|
Add get_message_content_story_full_id.
|
2023-06-22 22:39:47 +03:00 |
|
levlam
|
59477f8f98
|
Improve field names.
|
2023-06-15 13:44:09 +03:00 |
|
levlam
|
29a1b7e3d6
|
Support media timestamps in replies to stories.
|
2023-06-13 18:20:26 +03:00 |
|
levlam
|
f182e105eb
|
Register web page story sender users for UserFromMessage.
|
2023-06-13 17:14:19 +03:00 |
|
levlam
|
64badee6f2
|
Add get_message_content_min_user_ids and register story sender.
|
2023-06-13 13:46:12 +03:00 |
|
levlam
|
686f0eabe6
|
Add td_api::messageStory and td_api::inputMessageStory.
|
2023-06-12 19:23:58 +03:00 |
|
levlam
|
71faaae22f
|
Support precise video duration.
|
2023-06-05 14:33:00 +03:00 |
|
levlam
|
936c27577e
|
Check that input content is non-empty inside corresponding functions.
|
2023-05-25 21:25:16 +03:00 |
|
levlam
|
b27b9caa89
|
Add FileType::VideoStory.
|
2023-05-25 14:19:54 +03:00 |
|
levlam
|
41da14fd17
|
Add and use get_story_content_duration.
|
2023-05-24 16:23:05 +03:00 |
|
levlam
|
f5208dd8bd
|
Add video.preload_prefix_size.
|
2023-05-19 14:57:57 +03:00 |
|
levlam
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
dd7fe47db8
|
Add FileManager::copy_file_id.
|
2023-05-24 15:28:40 +03:00 |
|
levlam
|
fc82657626
|
Add create_photo function.
|
2023-05-22 15:35:25 +03:00 |
|
levlam
|
3d4b4ac014
|
Simplify inputMessageContent processing.
|
2023-05-21 23:28:34 +03:00 |
|
levlam
|
c70ef59cde
|
Add get_input_thumbnail_photo_size.
|
2023-05-21 23:05:28 +03:00 |
|
levlam
|
c18818013a
|
Add get_input_photo_size function.
|
2023-05-21 16:35:33 +03:00 |
|
levlam
|
1da3955271
|
Move Photo merging to merge_photos function.
|
2023-05-18 17:03:56 +03:00 |
|
levlam
|
f8853fb938
|
Skip new entities for some bots.
|
2023-05-01 13:44:41 +03:00 |
|
levlam
|
e1eff4a06a
|
Add MessagesManager::get_chat_id_object for checking chat_id before returning it.
|
2023-04-13 22:41:22 +03:00 |
|
levlam
|
e0bee7757b
|
Improve get_message_user_ids and get_message_channel_ids.
|
2023-04-12 01:33:48 +03:00 |
|
levlam
|
00ed2f85b8
|
Support dark_theme_brightness for chat backgrounds.
|
2023-04-10 18:45:26 +03:00 |
|
levlam
|
13d0536db1
|
Add chat.background.
|
2023-04-10 17:23:21 +03:00 |
|
levlam
|
64b2cb4e12
|
Add class BackgroundInfo.
|
2023-04-10 16:32:59 +03:00 |
|
levlam
|
0823c902bd
|
Add td_api::messageChatSetBackground.
|
2023-04-10 14:12:35 +03:00 |
|
levlam
|
2e5bab9c48
|
Add messageGiftedPremium.gifter_user_id.
|
2023-04-03 21:20:41 +03:00 |
|
levlam
|
c62bbfb583
|
Remove expected error logging.
|
2023-04-03 18:00:44 +03:00 |
|
levlam
|
910c5ee09c
|
Add cryptocurrency price to messageGiftedPremium.
|
2023-03-21 14:54:36 +03:00 |
|
levlam
|
a45d2de881
|
Update layer to 158.
|
2023-03-21 14:11:43 +03:00 |
|
levlam
|
b427a7b9f6
|
Add send_emoji to get_input_media.
|
2023-02-27 02:12:21 +03:00 |
|
levlam
|
b4a86fb299
|
Add MessageWebViewWriteAccessAllowed.
|
2023-02-22 12:24:43 +03:00 |
|
levlam
|
f6615189af
|
Update layer to 154.
|
2023-02-07 14:01:45 +03:00 |
|
levlam
|
47724bd4d8
|
Improve log message spelling.
|
2023-02-26 13:08:03 +03:00 |
|
levlam
|
5a39bb4952
|
Use error code returned by get_input_file_id.
|
2023-02-09 18:31:02 +03:00 |
|
levlam
|
ed32026958
|
Increase MessageUnsupported version.
|
2023-01-30 21:47:54 +03:00 |
|
levlam
|
0feb0f15ce
|
Improve names of methods and message contents related to sharing user/chat with a bot.
|
2023-01-23 18:19:35 +03:00 |
|
levlam
|
425bd0e364
|
Support sticker chat photos.
|
2023-01-20 17:31:33 +03:00 |
|
levlam
|
4922b0c776
|
Add messageUserChosen.
|
2023-01-11 20:03:43 +03:00 |
|
levlam
|
06a432a373
|
Add td_api::messageChatChosen.
|
2023-01-10 16:20:30 +03:00 |
|
levlam
|
ad8ecec67c
|
Support separate chat permissions for different media types.
|
2023-01-06 14:16:34 +03:00 |
|
levlam
|
050a11ece7
|
Update layer to 152.
|
2023-01-06 12:42:16 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
e4c8eb376e
|
Fix spoiler in on_upload_message_media_success.
|
2022-12-30 02:39:31 +03:00 |
|
levlam
|
86f0de23f5
|
Improve message-TTL-related log messages.
|
2022-12-28 21:59:41 +03:00 |
|
levlam
|
90b6403e86
|
Improve message_auto_delete_time field and class names.
|
2022-12-28 21:46:16 +03:00 |
|
levlam
|
a77c7d566c
|
Avoid duplicate 't' and 'i' photo sizes.
|
2022-12-28 20:39:24 +03:00 |
|
levlam
|
36fc74ea7c
|
Rename message.ttl to self_destruct_timer.
|
2022-12-28 17:09:39 +03:00 |
|
levlam
|
1ff40ce132
|
Rename message TTL to auto-delete timer when appropriate.
|
2022-12-28 17:02:41 +03:00 |
|
levlam
|
c05a6d9631
|
Improve class name.
|
2022-12-26 23:33:01 +03:00 |
|
levlam
|
eff7675749
|
Support spoilers for messageAnimation.
|
2022-12-26 14:20:48 +03:00 |
|
levlam
|
b0446523eb
|
Support sending of media with spoiler.
|
2022-12-23 18:27:38 +03:00 |
|
levlam
|
3f55703211
|
Register suggested profile photos.
|
2022-12-23 13:19:56 +03:00 |
|
levlam
|
f40a6ff477
|
Add StickerTypeFullInfo.
|
2022-12-21 23:25:31 +03:00 |
|
levlam
|
14dd89e804
|
Disable sending of media with spoilers for now.
|
2022-12-21 19:14:32 +03:00 |
|
levlam
|
b8f4df741b
|
Remove PhotoWithSpoiler and VideoWithSpoiler file types.
|
2022-12-21 17:37:16 +03:00 |
|
levlam
|
94e678dbc8
|
Add has_spoiler flag to messagePhoto and messageVideo.
|
2022-12-20 18:06:21 +03:00 |
|
levlam
|
d611b21f17
|
Increase MessageUnsupported version to load photo and video with spoiler.
|
2022-12-20 13:05:28 +03:00 |
|