Commit Graph

45 Commits

Author SHA1 Message Date
levlam
ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam
edaff2eba5 Don't send unneeded user from inlineKeyboardButtonTypeUser for bots. 2022-08-05 16:47:47 +03:00
levlam
03de62b29f Check data validness before initing InlineKeyboardButton. 2022-07-23 13:04:25 +03:00
levlam
1ff1059de8 Fix warning. 2022-07-23 12:59:21 +03:00
levlam
aa635a89c2 Check keyboard buttons data for validness. 2022-06-29 15:57:59 +03:00
levlam
d9d76adb7c Return user_id in inline keyboard as is for local and yet unsent messages. 2022-06-29 11:17:51 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
8a9ea2899b Allow only HTTPS links as login URL. 2022-05-13 14:29:32 +03:00
levlam
bf0caca138 Simplify LinkManager::check_link usage. 2022-05-31 01:41:01 +03:00
levlam
2a0ff37f76 Improve error messages. 2022-04-05 19:07:12 +03:00
levlam
317d267241 Allow HTTP web app links in test DC. 2022-04-05 18:52:22 +03:00
levlam
c1aa1defbb Add td_api::closeWebApp. 2022-03-31 21:45:35 +03:00
levlam
e54fac174a Rename web view to web app. 2022-03-31 16:42:59 +03:00
levlam
ad7e0e2118 Improve method names and documentation. 2022-03-31 12:25:46 +03:00
levlam
ac8e856269 Allow only HTTPS links for web view. 2022-03-28 16:24:56 +03:00
levlam
0bd4c1a778 Check link in td_api::keyboardButtonTypeWebView. 2022-03-28 15:54:23 +03:00
levlam
0ae8401ab5 Add keyboardButtonTypeWebView. 2022-03-27 02:20:26 +03:00
levlam
214e9cf3f2 Add inlineKeyboardButtonTypeWebViewUrl. 2022-03-25 00:32:38 +03:00
levlam
8b16cf7271 Make all fields in Dependencies class private. 2022-03-11 15:31:28 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
b060536ae3 Return Result<...> from get_input_user. 2021-12-16 22:46:03 +03:00
levlam
8f33f96e8c Allow tg:user URLs in inline keyboard buttons. 2021-11-24 13:05:56 +03:00
levlam
ae987f2211 Add inlineKeyboardButtonTypeUser. 2021-11-10 17:14:00 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
53f0be4fca Improve error messages. 2021-06-24 22:13:11 +03:00
levlam
786c8c5f9a Update layer to 130. Support input field placeholder in reply markup. 2021-06-19 05:20:27 +03:00
levlam
198af82254 Move check_url to LinkManager. 2021-05-25 02:53:25 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
3c83aae127 Add CallbackWithPassword buttons support.
GitOrigin-RevId: 99e79f8975d50a9a87183dd78f2641711bbad28d
2020-08-18 09:32:37 +03:00
levlam
23b3eb4931 Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
2020-07-31 05:50:11 +03:00
levlam
fa31f168b5 Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
2020-01-14 20:18:35 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
8c495d99e6 Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
2019-12-08 09:57:33 +03:00
levlam
ad167a48ba Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
2019-08-05 12:56:28 +03:00
levlam
5e8be86d9f Support forwsrd text for login URL buttons.
GitOrigin-RevId: c5682599198cacfd7b7945f6b43e6af4ded4aedf
2019-05-27 17:48:15 +03:00
levlam
93dd076d8a Support LoginUrl buttons.
GitOrigin-RevId: ca630cc32bf17df6dcedcff4ffa8507fb82ae9cc
2019-05-23 23:35:26 +03:00
levlam
f15fa69d3b Describe, why switch_inline_query buttons can't be used in channel chats.
GitOrigin-RevId: c30c892637a077891fc819d67b9dcfe635b7ccbf
2019-04-13 21:59:29 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
34a26188c6 Disallow switch_inline_query in channels.
GitOrigin-RevId: ad18c78f9abf4114ae72229f1b2f863f13ccba7a
2018-11-05 14:29:43 +03:00
levlam
1ef5c89a91 Allow tg URLs in text links and url buttons.
GitOrigin-RevId: 9708c3016375564e737bf5a8f79494807d61c10f
2018-06-19 13:23:52 +03:00
levlam
a3717481ed More robust mkpath.
GitOrigin-RevId: 3c0417c3223dff7161f4457da8ae475f6dc8f925
2018-03-04 22:53:21 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00