Commit Graph

2003 Commits

Author SHA1 Message Date
levlam
93c3b5cc07 Add toggleBotUsernameIsActive. 2023-03-30 15:34:27 +03:00
levlam
9d88c64718 Add td_api::setBotProfilePhoto. 2023-03-29 21:49:54 +03:00
levlam
62818418ea Add setBotName/getBotName. 2023-03-28 18:42:54 +03:00
levlam
92f1d26f08 Allow to edit description of owned bots. 2023-03-28 17:49:48 +03:00
levlam
aec7d5a26f Add userTypeBot.can_be_edited. 2023-03-28 16:26:42 +03:00
levlam
f844179528 Add td_api::createChatFilterInviteLink. 2023-03-27 21:36:44 +03:00
levlam
9a85e4df1c Add td_api::chatFilterInviteLink. 2023-03-24 17:06:09 +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
4ee61aae2b Improve error messages and documentation. 2023-03-31 15:01:38 +03:00
AYMEN Mohammed
17e120d7ec
Fix typos. (#2365)
* Fix typos.

* Fix another typo. (by t.me/Mammad900)
2023-03-26 22:38:14 +03:00
AYMENJD
7d70dcc9a4 Improve authenticationCodeTypeSms documentation. 2023-03-25 09:02:55 +03:00
John Preston
f742a9710d Fix a type on viewMessages method documentation. 2023-03-25 09:01:45 +03:00
levlam
1ce9f9d27c Minor improvements. 2023-03-24 14:14:37 +03:00
levlam
1eb83f09d3 Improve documentation. 2023-03-23 18:52:34 +03:00
levlam
23c8ef2f63 Return error 404 from addApplicationChangelog if nothing was added. 2023-03-23 16:53:11 +03:00
levlam
de8b68a492 Send updateLanguagePackStrings when language pack is loaded for the first time. 2023-03-22 21:40:05 +03:00
levlam
4a0f5011cb Add some secret chat checks. 2023-03-22 15:05:05 +03:00
levlam
d3ef57e961 Add td_api::getSupportName. 2023-03-22 13:54:04 +03:00
levlam
1af942de49 Add td_api::resetAuthenticationEmailAddress. 2023-03-20 15:17:51 +03:00
levlam
e47adeab37 Improve email address reset API. 2023-03-20 14:45:11 +03:00
levlam
61a4259bfe Add email address reset infomation to authorizationStateWaitEmailCode. 2023-03-20 01:40:05 +03:00
levlam
f3225b7106 Allow to call resendAuthenticationCode for Firenase SMS. 2023-03-19 00:29:10 +03:00
levlam
200b334f49 Update layer to 156. 2023-03-18 23:30:58 +03:00
levlam
b7d6383de7 Print a warning if a field is marked as nullable erroneously. 2023-03-17 22:43:37 +03:00
levlam
9260822b6e Add reaction date to addedReaction. 2023-03-08 21:12:45 +03:00
levlam
30ad06aa21 Update layer to 155. 2023-03-08 21:12:09 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
12d04ec684 Rename can_send_messages to can_send_basic_messages. 2023-03-04 21:31:51 +03:00
levlam
040f0a954c Rename share_text to short_description. 2023-03-04 20:31:21 +03:00
levlam
b45d56d116 Add updateAddChatMembersPrivacyForbidden. 2023-03-03 14:42:30 +03:00
levlam
da974f2e5e Improve view_date documentation. 2023-03-02 19:01:56 +03:00
levlam
a2fcf5b8f7 Improve documentation for t.me link creation. 2023-03-02 18:16:36 +03:00
levlam
672ef60828 Add td_api::getInternalLink. 2023-03-02 16:21:36 +03:00
levlam
57655958a9 Add td_api::getBotInfoShareText. 2023-02-27 01:47:55 +03:00
levlam
0c8b9bf555 Add td_api::setBotInfoShareText. 2023-02-27 01:41:46 +03:00
levlam
d7ba7f693b Add td_api::getBotInfoDescription. 2023-02-27 01:33:51 +03:00
levlam
72bebaf3f5 Add td_api::setBotInfoDescription. 2023-02-27 01:00:17 +03:00
levlam
0cc5579aaf Add sponsor_info and additional_info to sponsoredMessage. 2023-02-24 16:02:45 +03:00
levlam
e7da8e88e0 Add td_api::getWebAppLinkUrl. 2023-02-24 15:08:16 +03:00
levlam
129de63bea Add td_api::searchWebApp. 2023-02-24 14:07:40 +03:00
levlam
7b07de64e7 Improve field name. 2023-02-23 19:00:12 +03:00
levlam
d8b062b21f Add td_api::internalLinkTypeWebApp. 2023-02-23 18:07:33 +03:00
levlam
1f32ae3dfd Add sending_id to messageSendOptions. 2023-02-23 17:05:43 +03:00
levlam
439dd7c2ca Add td_api::messageViewers. 2023-02-23 15:15:10 +03:00
levlam
b27eeda8bd Add authorizationStateWaitPassword.has_passport_data. 2023-02-22 15:59:36 +03:00
levlam
b4a86fb299 Add MessageWebViewWriteAccessAllowed. 2023-02-22 12:24:43 +03:00
levlam
2268ae87a4 Add td_api::webApp. 2023-02-21 22:35:20 +03:00
levlam
46fab0cbac Add inlineQueryResultsButtonTypeWebApp. 2023-02-21 21:22:36 +03:00
levlam
651bb7a156 Add inlineQueryResultsButton. 2023-02-21 20:44:03 +03:00
levlam
acec58e7ef Add addApplicationChangelog. 2023-02-21 12:08:55 +03:00
levlam
ba2c797350 Return Ok from setStickerSetThumbnail. 2023-02-16 20:38:19 +03:00
levlam
c3d2ad8c59 Return Ok from addStickerToSet. 2023-02-16 19:50:52 +03:00
levlam
359ec5e66c Add td_api::deleteStickerSet. 2023-02-16 16:17:29 +03:00
levlam
7be16c8a68 Move sticker_format out of inputSticker. 2023-02-14 14:59:03 +03:00
levlam
ae0a473cb9 Add td_api::setStickerMaskPosition. 2023-02-10 15:52:25 +03:00
levlam
b895900e75 Simplify td_api::emojiCategory usage. 2023-02-09 22:47:44 +03:00
levlam
8e74b99e13 Add td_api::setStickerKeywords. 2023-02-09 21:43:38 +03:00
levlam
c53b05e4e8 Add td_api::setStickerEmojis. 2023-02-09 20:42:09 +03:00
levlam
4d8fae253e Simplify uploadStickerFile. 2023-02-09 16:05:26 +03:00
levlam
b6de7319d4 Support inputSticker keywords. 2023-02-09 15:23:55 +03:00
levlam
8e2cbeebc1 Add td_api::setStickerSetTitle. 2023-02-08 21:43:09 +03:00
levlam
9871aba024 Add td_api::setCustomEmojiStickerSetThumbnail. 2023-02-08 21:29:54 +03:00
levlam
5bbac9d0b4 Support creation of repainted custom emoji sticker sets. 2023-02-08 20:29:53 +03:00
levlam
fbea859a11 Add MessageSource to viewMessages. 2023-02-07 21:08:54 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
3979fc122b Allow to create basic groups without other members. 2023-02-24 16:33:14 +03:00
levlam
ed9df60e1e Update needs_repainting documentation. 2023-02-09 13:29:39 +03:00
levlam
2260944afe Save autosave settings to database. 2023-02-06 19:53:21 +03:00
levlam
2f46132aa2 Send updateAutosaveSettings. 2023-02-04 03:32:16 +03:00
levlam
6dc48f30da Add td_api::updateAutosaveSettings. 2023-02-03 20:59:32 +03:00
levlam
810b58d55a Check and fix max_video_file_size. 2023-02-03 16:49:17 +03:00
levlam
39f4091ac5 Add td_api::setAutosaveSettings. 2023-02-03 15:58:15 +03:00
levlam
498f507646 Improve class names. 2023-02-03 13:45:51 +03:00
levlam
255d887bce Add td_api::clearAutosaveSettingsExceptions. 2023-02-03 13:07:43 +03:00
levlam
c5c9707837 Add td_api::getAutosaveSettings. 2023-02-03 12:39:23 +03:00
levlam
ddab8d5dbc Improve translateText documentation. 2023-02-03 00:01:03 +03:00
levlam
3ead2030f6 Improve chat photo animation documentation. 2023-02-01 21:13:41 +03:00
levlam
da7c518686 Improve needs_repainting documentation. 2023-02-01 00:57:06 +03:00
levlam
101afa286e Don't check bot_is_member and bot_administrator_rights. 2023-02-01 00:40:39 +03:00
levlam
a347eb4da3 Add ability to check shared with bot user/chat. 2023-01-31 16:52:05 +03:00
levlam
9d5299820c Add updateNewChatJoinRequest.user_chat_id. 2023-01-31 13:50:40 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
784b46a298 Add td_api::deviceTokenHuaweiPush. 2023-01-30 15:42:15 +03:00
levlam
0469ac0147 Add inputChatPhotoSticker. 2023-01-30 00:35:14 +03:00
levlam
75dacac872 Add td_api::emojiCategoryTypeChatPhoto. 2023-01-27 15:16:40 +03:00
levlam
a4f61ce47d Add td_api::premiumFeatureRealTimeChatTranslation. 2023-01-25 21:26:09 +03:00
levlam
b02f134798 Add td_api::EmojiCategoryType. 2023-01-24 21:38:53 +03:00
levlam
8730fd6f34 Add td_api::getEmojiCategories. 2023-01-24 18:11:02 +03:00
levlam
f51bea81e1 Support search by multiple emojis in getStickers. 2023-01-24 15:15:37 +03:00
levlam
833c7c30da Allow mutiple emojis in searchStickers. 2023-01-23 21:40:32 +03:00
levlam
e5441b5ed7 Support sticker_type in searchStickers. 2023-01-23 21:07:42 +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
a1543b0332 Add td_api::suggestedActionSubscribeToAnnualPremium. 2023-01-23 16:11:26 +03:00
levlam
4a5b702f11 Add suggestedActionUpgradePremium. 2023-01-23 16:03:32 +03:00
levlam
136a50d0ae Add translateMessageText. 2023-01-23 15:46:26 +03:00
levlam
a7e4c54f63 Support stickers in setChatPhoto. 2023-01-23 13:53:23 +03:00
levlam
fac51c9819 Check provided custom emoji and sticker identifiers. 2023-01-23 12:50:39 +03:00
levlam
69c6a485ba Add sticker.id. 2023-01-23 12:18:51 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
337aef5c02 Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable. 2023-01-20 12:38:25 +03:00
levlam
315a526fba Add information for Premium subscription upgrade. 2023-01-20 00:41:18 +03:00
levlam
b339976ddf Add storePaymentPurposePremiumSubscription.is_upgrade. 2023-01-19 16:49:57 +03:00
levlam
65ddaea0f6 Add sendAuthenticationFirebaseSms. 2023-01-19 16:45:47 +03:00
levlam
f596ec7793 Allow to request Firebase Authentication in official apps. 2023-01-19 15:36:23 +03:00
levlam
1d9f2d6de9 Add authenticationCodeTypeFirebaseIos. 2023-01-19 15:12:55 +03:00
levlam
f0e4a4cdc8 Add authenticationCodeTypeFirebaseAndroid. 2023-01-19 14:46:33 +03:00
levlam
a14d749893 Allow to upload custom emoji photos. 2023-01-19 14:06:27 +03:00
levlam
68e939985f Support CustomEmojiSize. 2023-01-18 22:25:25 +03:00
levlam
e26aecc87a Support translation of formatted text. 2023-01-18 16:34:49 +03:00
levlam
7288e90211 Untie can_send_messages right from other rights. 2023-01-17 18:13:27 +03:00
levlam
2d7608459e Support standalone SetPassword suggested action. 2023-01-17 13:22:21 +03:00
levlam
97cc57a25c Add td_api::sendChosenChat. 2023-01-13 17:16:16 +03:00
levlam
0b54e28467 Add td_api::sendChosenUser. 2023-01-13 17:03:35 +03:00
levlam
4922b0c776 Add messageUserChosen. 2023-01-11 20:03:43 +03:00
levlam
9a2dd58b6f Implement RequestedDialogType. 2023-01-11 19:52:35 +03:00
levlam
1afcc3bcfd Add separate keyboardButtonTypeRequestUser. 2023-01-11 18:31:49 +03:00
levlam
83403d9836 Add keyboardButtonTypeRequestChat. 2023-01-11 16:54:46 +03:00
levlam
06a432a373 Add td_api::messageChatChosen. 2023-01-10 16:20:30 +03:00
levlam
6f3d7ac308 Add td_api::getDefaultProfilePhotoCustomEmojiStickers. 2023-01-10 15:40:52 +03:00
levlam
84077d72dc Add td_api::getDefaultChatPhotoCustomEmojiStickers. 2023-01-10 15:23:07 +03:00
levlam
f0d0ac6b78 Allow to create forum supergroups. 2023-01-09 21:43:51 +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
d912fd1431 Improve can_send_messages documentation. 2023-01-17 16:26:20 +03:00
levlam
ad8f0c4146 Improve some spelling. 2023-01-16 12:59:43 +03:00
levlam
75bdc6292b Remove some getAuthorizationState usages. 2023-01-12 22:25:47 +03:00
levlam
aa8c5ec1c9 Improve setAuthenticationPhoneNumber and requestQrCodeAuthentication documentation. 2023-01-06 14:19:44 +03:00
levlam
903d994799 Improve punctuation. 2023-01-02 15:38:04 +03:00
levlam
c8e0c2fedc Improve internalLinkTypePassportDataRequest documentation. 2023-01-02 13:10:12 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
5ee9c7365b Remove "forum_member_count_min" option. 2022-12-31 00:17:18 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
2a0f211dfe Improve field name. 2022-12-30 01:36:06 +03:00
levlam
9fb35e8c95 Add td_api::setPinnedForumTopics. 2022-12-29 23:48:19 +03:00
levlam
118c336c01 Add td_api::toggleForumTopicIsPinned. 2022-12-29 23:23:09 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
6aa4558850 Improve return value of searchCallMessages. 2022-12-28 19:17:25 +03:00
levlam
9663dc98b5 Improve return type of searchChatMessages. 2022-12-28 18:42:11 +03:00
levlam
630101358b Add internalLinkTypeEditProfileSettings. 2022-12-28 18:08:00 +03:00
levlam
1a3789e88d Add internalLinkTypeDefaultMessageAutoDeleteTimerSettings. 2022-12-28 17:58:17 +03:00
levlam
7e1d550870 Fix misprints. 2022-12-28 17:25:51 +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
a19f55b116 Rename is_aggressive_anti_spam_enabled to has_aggressive_anti_spam_enabled. 2022-12-27 19:14:37 +03:00
levlam
bb9108ca32 Add internalLinkTypeStickerSet.expect_custom_emoji. 2022-12-27 18:17:49 +03:00
levlam
17990719ee Improve documentation. 2022-12-27 15:33:49 +03:00
levlam
c05a6d9631 Improve class name. 2022-12-26 23:33:01 +03:00
levlam
91cbf1b04c Improve suggestUserProfilePhoto documentation. 2022-12-26 20:35:14 +03:00
levlam
dcd1e60910 Add separate message.auto_delete_in. 2022-12-26 17:31:04 +03:00
levlam
0a0387e8f5 Improve getForumTopicLink. 2022-12-26 15:11:55 +03:00
levlam
a4fc556e5e Minor improvements. 2022-12-26 14:58:31 +03:00
levlam
eff7675749 Support spoilers for messageAnimation. 2022-12-26 14:20:48 +03:00
levlam
92e37fae46 Improve documentation. 2022-12-26 13:53:51 +03:00
levlam
8267462041 Improve method name. 2022-12-26 13:49:00 +03:00
levlam
3080f64273 Simplify searchMessages usage. 2022-12-25 22:28:05 +03:00
levlam
9768637010 Add pushMessageContentSuggestProfilePhoto. 2022-12-25 21:29:56 +03:00
levlam
ea30ec106c Improve userFullInfo photos documentation. 2022-12-24 09:05:49 +03:00
levlam
21e2cff6b4 Improve getUserProfilePhotos documentation. 2022-12-24 08:59:08 +03:00
levlam
bc730f7d0f Improve photo field order in userFullInfo. 2022-12-24 08:54:17 +03:00
levlam
b0446523eb Support sending of media with spoiler. 2022-12-23 18:27:38 +03:00
levlam
f6de50e19f Fix some spelling. 2022-12-22 17:04:18 +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
6516210321 Remove "themed_emoji_statuses_sticker_set_id" option. 2022-12-21 12:26:29 +03:00
levlam
94e678dbc8 Add has_spoiler flag to messagePhoto and messageVideo. 2022-12-20 18:06:21 +03:00
levlam
6cb9371061 Add toggleSupergroupHasHiddenMembers. 2022-12-20 15:51:37 +03:00
levlam
299dc26be6 Add phoneNumberInfo.is_anonymous. 2022-12-20 15:01:39 +03:00
levlam
164848cb8f Allow to add emoji stickers to animations, photos and videos. 2022-12-20 14:04:22 +03:00
levlam
0fe8023cdc Add new flags to basicGroupFullInfo. 2022-12-20 11:17:51 +03:00
levlam
983cb965cf Add supergroupFullInfo.can_hide_members. 2022-12-20 11:04:00 +03:00
levlam
786cbf990c Add supergroupFullInfo.has_hidden_members. 2022-12-19 20:29:33 +03:00
levlam
f2d8575828 Add supergroupFullInfo.can_toggle_aggressive_anti_spam. 2022-12-19 13:59:09 +03:00
levlam
8a2598869c Rename fallback photo to public photo. 2022-12-19 13:03:38 +03:00
levlam
02db4f2fac Support sending of photos and videos with spoiler animation. 2022-12-15 22:41:55 +03:00
levlam
ab349e1562 Support photo deletion in setUserPersonalProfilePhoto. 2022-12-15 18:39:39 +03:00
levlam
1ee924aeb2 Add suggestUserPersonalProfilePhoto. 2022-12-15 18:12:30 +03:00
levlam
7b8ce74ec2 Allow to set fallback profile photo. 2022-12-15 17:44:26 +03:00
levlam
8de2bc531d Add userFullInfo.fallback_photo. 2022-12-15 17:17:42 +03:00
levlam
214c8d5e70 Add replyMarkupShowKeyboard.is_persistent. 2022-12-15 14:59:12 +03:00
levlam
c30756f450 Add AttachmentMenuBot.request_write_access. 2022-12-15 14:25:45 +03:00
levlam
743ba7cc28 Add toggleBotIsAddedToAttachmentMenu.allow_write_access. 2022-12-15 14:21:22 +03:00
levlam
cc52263026 Add td_api::messageBotWriteAccessAllowed 2022-12-14 21:13:48 +03:00
levlam
5ed064b810 Split some long class/field descriptions. 2022-12-14 17:35:31 +03:00
levlam
1edde0e808 Split multiline documentation by different lines. 2022-12-14 16:30:37 +03:00
levlam
b2c838f7bb Add td_api::setUserPersonalProfilePhoto. 2022-12-13 14:16:49 +03:00
levlam
0db6fe533b Support personal photo in UserFull. 2022-12-09 18:46:57 +03:00
levlam
f941df4ec7 Add profilePhoto.is_personal flag. 2022-12-09 15:52:21 +03:00
levlam
ebeb524f70 Add messageSuggestProfilePhoto. 2022-12-09 14:13:37 +03:00
levlam
9cc023111d Add sticker.has_text_color. 2022-12-09 13:39:29 +03:00
levlam
8e7d5f5594 Update layer to 151. 2022-12-08 20:58:37 +03:00
levlam
b714a53084 Improve authorization states documentation. 2022-12-19 17:12:48 +03:00
levlam
8ee04b37e6 Minor improvements. 2022-12-09 12:12:49 +03:00
levlam
05ad0474bf Add td_api::getForumTopics. 2022-12-06 18:16:22 +03:00
levlam
d9e16106af Add setForumTopicNotificationSettings. 2022-12-06 14:53:54 +03:00
levlam
a40acdfcc3 Support General forum topic links. 2022-12-05 14:13:55 +03:00
levlam
ec0dd68a57 Add td_api::getForumTopicLink. 2022-12-05 13:03:38 +03:00
levlam
6e2c2d9e03 Clarify meaning of chatMember.joined_chat_date. 2022-12-05 00:04:03 +03:00
levlam
7fdbc4b704 Add chatEventIsAggressiveAntiSpamEnabledToggled. 2022-12-04 12:04:39 +03:00
levlam
13fc5a334f Improve documentation. 2022-12-03 11:27:55 +03:00