2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 14:05:10 +00:00

Show stickers with PURPLE_MESSAGE_IMAGES

This commit is contained in:
Arseniy Lartsev
2020-08-27 17:32:17 +02:00
parent 6f6c7af73a
commit b55728270b
5 changed files with 11 additions and 10 deletions

View File

@@ -450,6 +450,11 @@ std::string getMessageText(const td::td_api::formattedText &text)
return result;
}
std::string makeInlineImageText(int imgstoreId)
{
return "\n<img id=\"" + std::to_string(imgstoreId) + "\">";
}
static std::string quoteMessage(const td::td_api::message *message, TdAccountData &account)
{
const td::td_api::user *originalAuthor = nullptr;