Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Sedric Heidarizarei

    How Can I send telegram bot live location?

    bot.sendLocation(, 35.804819, 51.434070);

        bot.onText(/\/livelocation/,  (msg) => {
            bot.sendLocation(, 35.804819, 51.434070, {
                live_period: 86400,
    Alexander Cerutti
    So, you created a chat just to ask help?
    Sedric Heidarizarei
    Gitter is a cool place to talk about your favorite module 👍
    @alexandercerutti I have another question: How Can I run node-telegram-bot-api module in a react native app?
    Alexander Cerutti
    I'm not into React and RNative
    Sedric Heidarizarei
    Ok thanks.
    Ruslan Trufanov

    could some please tell me what i need to set to use sendInvoice function.

    this.telegramBot.sendInvoice('myid', 'title', 'description', 'i do not what to do', "my live key", 'i do not what to do', 'UAH', [{ label: 100, amount: 1000 }]);

    but its not working
    i use liqpay. i added it in my bot by godfather and connect it with liqpay