mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Merge branch 'master' into profile
Conflicts: Telegram/Telegram.vcxproj.filters
This commit is contained in:
@@ -285,7 +285,15 @@ public:
|
||||
Dialogs::IndexedList *contactsList();
|
||||
Dialogs::IndexedList *dialogsList();
|
||||
|
||||
void sendMessage(History *hist, const QString &text, MsgId replyTo, bool broadcast, bool silent, WebPageId webPageId = 0);
|
||||
struct MessageToSend {
|
||||
History *history = nullptr;
|
||||
TextWithTags textWithTags;
|
||||
MsgId replyTo = 0;
|
||||
bool broadcast = false;
|
||||
bool silent = false;
|
||||
WebPageId webPageId = 0;
|
||||
};
|
||||
void sendMessage(const MessageToSend &message);
|
||||
void saveRecentHashtags(const QString &text);
|
||||
|
||||
void readServerHistory(History *history, bool force = true);
|
||||
|
Reference in New Issue
Block a user