Commit Graph

268 Commits

Author SHA1 Message Date
levlam
008962a7e9 Add linkPreview.show_media_above_description. 2024-07-11 14:16:19 +03:00
levlam
2f3efdaa73 Add linkPreviewTypeEmbeddedAudioPlayer.thumbnail. 2024-07-11 12:42:23 +03:00
levlam
a40f104470 Add linkPreviewTypeEmbeddedVideoPlayer.thumbnail. 2024-07-10 10:45:05 +03:00
levlam
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
306e3e355c Log ignored link preview documents. 2024-07-17 15:24:44 +03:00
levlam
6f3fd97877 Support media in "article" link previews. 2024-07-17 15:15:02 +03:00
levlam
989b504a7f Ignore photo for linkPreviewTypeSticker. 2024-07-09 14:09:32 +03:00
levlam
666071218a Use linkPreviewTypePhoto for animations with photo, but without animation. 2024-07-08 11:27:05 +03:00
levlam
203591d295 Fallback to linkPreviewTypePhoto if have photo for unknown embed. 2024-07-06 22:05:55 +03:00
levlam
e630978d30 Fix linkPreviewTypeStory. 2024-07-06 18:42:36 +03:00
levlam
35a4c54666 Use linkPreviewTypePhoto for videos without video. 2024-07-06 18:23:26 +03:00
levlam
95d4ea1856 Use linkPreviewTypePhoto for documents without document. 2024-07-06 18:14:20 +03:00
levlam
4896db62c1 Log unexpected photos in link preview. 2024-07-05 15:22:26 +03:00
levlam
e1951c5a84 Add linkPreviewTypeTheme.settings. 2024-07-05 14:10:36 +03:00
levlam
5370c29625 Remove unused parameters from get_link_preview_type_object. 2024-07-04 18:57:50 +03:00
levlam
9ad612a42e Add td_api::linkPreviewTypeMessage. 2024-07-04 18:50:48 +03:00
levlam
a31b27c456 Remove duplicate linkPreview fields. 2024-07-04 18:42:50 +03:00
levlam
cc1861568b Add td_api::linkPreviewTypeVideoNote and td_api::linkPreviewTypeVoiceNote. 2024-07-04 18:40:05 +03:00
levlam
cf8f72c07d Add td_api::linkPreviewTypeSticker. 2024-07-04 18:34:30 +03:00
levlam
31f489372e Add td_api::linkPreviewTypeAlbum. 2024-07-04 18:21:24 +03:00
levlam
70d6969b8a Support "document" link preview type. 2024-07-04 16:39:13 +03:00
levlam
d193456bf2 Add td_api::linkPreviewTypeArticle. 2024-07-04 16:24:45 +03:00
levlam
5c4ccdb1d6 Add td_api::linkPreviewTypeAnimation. 2024-07-04 16:11:51 +03:00
levlam
74249b7176 Use td_api::linkPreviewTypeUnsupported for unsupported link preview types. 2024-07-04 15:29:38 +03:00
levlam
e34f16c3bc Add td_api::linkPreviewTypePhoto. 2024-07-04 15:26:41 +03:00
levlam
14a74af9fd Support link preview type "video". 2024-07-04 15:03:40 +03:00
levlam
243eee3819 Add td_api::linkPreviewTypeApp. 2024-07-04 15:02:37 +03:00
levlam
5944fda0d6 Remove embed_ fields from linkPreview. 2024-07-04 13:58:21 +03:00
levlam
f2a855901a Add linkPreviewTypeAudio/linkPreviewTypeVideo. 2024-07-04 13:57:15 +03:00
levlam
baec4850ae Add linkPreviewTypeEmbeddedAudioPlayer/linkPreviewTypeEmbeddedVideoPlayer. 2024-07-04 13:28:35 +03:00
levlam
f1a08b3559 Add td_api::linkPreviewTypeWebApp. 2024-07-04 10:49:35 +03:00
levlam
2d0d07aaae Add td_api::linkPreviewTypeUser. 2024-07-04 10:38:39 +03:00
levlam
7489967137 Add td_api::linkPreviewTypeInvoice. 2024-07-04 00:32:00 +03:00
levlam
d913fdbb83 Add linkPreviewTypeChat.creates_join_request. 2024-07-04 00:30:17 +03:00
levlam
b635ec1fa5 Add td_api::linkPreviewTypeChat. 2024-07-03 23:47:06 +03:00
levlam
b83fa55ee1 Add td_api::linkPreviewType*Boost 2024-07-03 18:24:32 +03:00
levlam
c207b266bd Add td_api::linkPreviewTypeChannel. 2024-07-03 18:16:15 +03:00
levlam
85758c069d Add td_api::linkPreviewTypeSupergroup. 2024-07-03 18:15:07 +03:00
levlam
8d6cb39a8e Add td_api::linkPreviewTypeVideoChat. 2024-07-03 17:44:20 +03:00
levlam
2ae48540b1 Add td_api::linkPreviewTypeStory. 2024-07-03 16:40:32 +03:00
levlam
6b408d486c Add td_api::linkPreviewTypeTheme. 2024-07-03 16:31:26 +03:00
levlam
5b9bfcd67e Add td_api::linkPreviewTypePremiumGiftCode. 2024-07-03 16:07:19 +03:00
levlam
11271865c5 Add td_api::linkPreviewTypeShareableChatFolder. 2024-07-03 16:04:04 +03:00
levlam
7e85824bd2 Add td_api::linkPreviewTypeBackground. 2024-07-03 15:59:55 +03:00
levlam
3872aa26d1 Add strongly-typed linkPreviewTypeStickerSet. 2024-07-03 15:49:53 +03:00
levlam
51d0e70b9e Rename webPage to linkPreview. 2024-07-03 15:15:06 +03:00
levlam
6dc9a25622 Register quick reply message web pages. 2024-06-17 23:13:11 +03:00
levlam
7e950e1b88 Don't check that on_external_update_message_content doesn't load new messages. 2024-06-11 17:22:50 +03:00
levlam
f2d2a94ae3 Add source to on_get_sticker_document. 2024-06-06 12:29:55 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00