mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move sendMessage and sendInlineResult to ApiWrap.
This commit is contained in:
@@ -222,19 +222,6 @@ public:
|
||||
Dialogs::IndexedList *dialogsList();
|
||||
Dialogs::IndexedList *contactsNoDialogsList();
|
||||
|
||||
struct MessageToSend {
|
||||
MessageToSend(not_null<History*> history) : history(history) {
|
||||
}
|
||||
|
||||
not_null<History*> history;
|
||||
TextWithTags textWithTags;
|
||||
MsgId replyTo = 0;
|
||||
WebPageId webPageId = 0;
|
||||
bool clearDraft = true;
|
||||
};
|
||||
void sendMessage(const MessageToSend &message);
|
||||
void saveRecentHashtags(const QString &text);
|
||||
|
||||
void unreadCountChanged(not_null<History*> history);
|
||||
|
||||
// While HistoryInner is not HistoryView::ListWidget.
|
||||
|
Reference in New Issue
Block a user