SA-MP Forums Archive
[Plugin] Telegram Connector - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Telegram Connector (/showthread.php?tid=663075)

Pages: 1 2


Re: Telegram Connector - oukibt - 18.02.2020

I can’t understand what the problem is? Connection for some reason does not work

Quote:

[TgConnector] [error]: Environment variable "1020004030:AAFv--E4Uem4aH2p1PCqVpDUxkJhgDDdqh4" is not set
Error: bot couldn't connect




Re: Telegram Connector - SyS - 24.02.2020

Quote:
Originally Posted by oukibt
View Post
I can’t understand what the problem is? Connection for some reason does not work
You might be using TGConnectFromEnv function and passing a token.You should either use TGConnect function or set your token to a env variable and pass it to TGConnectFromEnv


Re: Telegram Connector - StargazerDC - 27.03.2020

Nice plugin. I tried it and I have an issue with the OnTGMessage callback. I used your example, it loops multiple times in the if condition and it does not post new messages if they are few seconds apart. On the other hand, if I erase the if condition, it spams the same message multiple times. Can't figure out how to fix this on my own.
If it's a bug I'd like to report it so it can be fixed.


Re: Telegram Connector - SyS - 31.03.2020

Quote:
Originally Posted by StargazerDC
View Post
Nice plugin. I tried it and I have an issue with the OnTGMessage callback. I used your example, it loops multiple times in the if condition and it does not post new messages if they are few seconds apart. On the other hand, if I erase the if condition, it spams the same message multiple times. Can't figure out how to fix this on my own.
If it's a bug I'd like to report it so it can be fixed.
Thank you for reporting this. I'll look into this issue.It might be helpful if you open an issue on github,so that i can track and manage it more conviniently and also because I'm not that actove in forums these days

Edit: i can't reproduce the problem you're having.


Re: Telegram Connector - SyS - 01.05.2020

New version released (0.3.0).Now supports proxy
https://github.com/Sreyas-Sreelal/tg...ases/tag/0.3.0


Re: Telegram Connector - SyS - 10.07.2020

Telegram Connector v0.3.1

Updated the rust sdk to latest version that fixes the issue of samp-gdk conflict occurred randomly for some people.

https://github.com/Sreyas-Sreelal/tg...ases/tag/0.3.1


Re: Telegram Connector - bybyby - 16.07.2020

как сделать бот в телеграм чтоб он вводил данные игрока с mysql ? такой бот уже сущевствует но я не могу понять как он работает @pvpsamp_bot