mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
webPage links preview previews done
This commit is contained in:
@@ -101,10 +101,11 @@ namespace Local {
|
||||
int32 oldMapVersion();
|
||||
|
||||
struct MessageDraft {
|
||||
MessageDraft(MsgId replyTo = 0, QString text = QString()) : replyTo(replyTo), text(text) {
|
||||
MessageDraft(MsgId replyTo = 0, QString text = QString(), bool previewCancelled = false) : replyTo(replyTo), text(text), previewCancelled(previewCancelled) {
|
||||
}
|
||||
MsgId replyTo;
|
||||
QString text;
|
||||
bool previewCancelled;
|
||||
};
|
||||
void writeDraft(const PeerId &peer, const MessageDraft &draft);
|
||||
MessageDraft readDraft(const PeerId &peer);
|
||||
|
Reference in New Issue
Block a user