I want to send a ticket data to telegram chat, and i had half resolved, but i have one problem. The predefined URL that send data to telegram allow one variable only as text.
Code: Select all
https://api.telegram.org/bot<token>/sendMessage?chat_id=<group chat id >&text=<our text>
Code: Select all
https://api.telegram.org/bot<token>/sendMessage?chat_id=<group chat id >&text=<our text>:TicketID
I was thinking of creating the return of several variables in one from the invoker controller (test.pm), such as
Code: Select all
my %merge = TicketNumber + Title.
How could I do that?
Thank you very much for your willingness to help me.
Cheers