2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Add return from bot switch_pm to Scheduled/Replies.

This commit is contained in:
John Preston
2020-11-12 18:46:17 +03:00
parent 4a8b59b788
commit f04b3da76a
25 changed files with 1158 additions and 1139 deletions

View File

@@ -15,7 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/object_ptr.h"
namespace InlineBots {
class Result;
struct ResultSelected;
} // namespace InlineBots
namespace Main {
@@ -60,11 +60,7 @@ public:
not_null<PhotoData*> photo;
Api::SendOptions options;
};
struct InlineChosen {
not_null<InlineBots::Result*> result;
not_null<UserData*> bot;
Api::SendOptions options;
};
using InlineChosen = InlineBots::ResultSelected;
enum class Mode {
Full,
EmojiOnly