Загрузка...

Why are the stars not written off?

Thread in C# created by yupp Diamond SVG Icon May 23, 2025. 1,130 views

  1. yupp
    yupp Diamond SVG Icon Topic starter May 23, 2025 Проституция запрещена!!! (РФ)
    [C#/WEB] Development of any software for feedback
    1,246 Jan 25, 2022
    Хочу написать бота с приемом оплаты проблемы пошли уже с самого начала
    CSHARP
        int amount = 0;

    try
    {
    amount = int.Parse(e.Message.Text);
    }
    catch (Exception ex)
    {
    await bot.SendTextMessageAsync(e.Message.Chat.Id, "Введите число");
    Console.WriteLine(ex.Message);
    return;
    }

    await bot.SendInvoiceAsync(
    chatId: e.Message.Chat.Id,
    title: "PayStars",
    description: "payStars to X parser bot",
    payload: Guid.NewGuid().ToString(),
    providerToken: "STARS",
    currency: "XTR",
    prices: new[] { new LabeledPrice($"Pay {amount}", amount) },
    startParameter: "start_parameter"
    );
    Создается сообщение но я не могу его оплатить... Почему так заранее спасибо
     
  2. matBast0s
    matBast0s May 23, 2025 №1 Криптообменник —> https://lolz.live/threads/9756616/ 10,794 Sep 10, 2023
     
    1. yupp Diamond SVG Icon Topic starter
    2. matBast0s
    3. matBast0s
    4. View the next comments (2)
Loading...