mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] add capybara purchase
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
using West.TelegramBot.ContentStore.Model;
|
||||||
|
|
||||||
|
namespace West.TelegramBot.ContentStore.Service;
|
||||||
|
|
||||||
|
public class CapyApiService : IRandomMediaService
|
||||||
|
{
|
||||||
|
public StoreItem StoreItem { get; } = new("capybara", "Капибара", 60, 25);
|
||||||
|
public async Task<RandomMedia> GetRandomMediaAsync()
|
||||||
|
{
|
||||||
|
return new RandomMedia("https://api.capy.lol/v1/capybara");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user