mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] Fix button order. Fix internal id for anim boobs.
This commit is contained in:
@@ -7,12 +7,14 @@ public class StoreItem
|
||||
public string Id;
|
||||
public readonly string Name;
|
||||
public readonly double Price;
|
||||
public readonly int Order;
|
||||
|
||||
public StoreItem(string id, string name, double price)
|
||||
public StoreItem(string id, string name, double price, int order = 0)
|
||||
{
|
||||
Id = id;
|
||||
Name = name;
|
||||
Price = price;
|
||||
Order = order;
|
||||
}
|
||||
|
||||
public InlineKeyboardButton ToButton(long userId)
|
||||
|
||||
Reference in New Issue
Block a user