mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 00:39:55 +00:00
Initial stake dice game implementation.
This commit is contained in:
@@ -21,6 +21,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "mtproto/mtp_instance.h"
|
||||
#include "mtproto/mtproto_config.h"
|
||||
#include "mtproto/mtproto_dc_options.h"
|
||||
#include "chat_helpers/stickers_dice_pack.h"
|
||||
#include "data/business/data_shortcut_messages.h"
|
||||
#include "data/components/credits.h"
|
||||
#include "data/components/gift_auctions.h"
|
||||
@@ -2677,6 +2678,11 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
const auto &data = update.c_updateStarGiftAuctionUserState();
|
||||
_session->giftAuctions().apply(data);
|
||||
} break;
|
||||
|
||||
case mtpc_updateEmojiGameInfo: {
|
||||
const auto &data = update.c_updateEmojiGameInfo();
|
||||
_session->diceStickersPacks().apply(data);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user