• Hello, we need to send information from input fields of Custom Payment Plugin to Telegram Chat.
    In which file can I place this code to send input information to my bot.

    #you place the bot token and chat id in the appropriate location of the telegram API address
    $token = "604891196:AAEtNizH6-nr3tOINAIhzmWy8VJjSKhjQK4"
    $chat = "-263767625"
    https://api.telegram.org/bot$token/sendMessage?chat_id=$chat&text=Hello+World
     
    #here is a full example:
    https://api.telegram.org/bot604891196:AAEtNizH6-nr3tOINAIhzmWy8VJjSKhjQK4/sendMessage?chat_id=-263767625&text=Hello+World
    

    Which Tag I must use to send the input fields Information.

  • The topic ‘Send information to Telegram’ is closed to new replies.