
Lib., do not find

Have put all folders to the right place, as shown in the install.md file and set right path in the source.
Looks like I did something wrong

Because 4 first bytes are preamble of the right message.NicTheQuick wrote: Sat Jun 28, 2025 6:33 pm Why do you wait for more than 4 bytes if you only need 4?Do you always send more than 4?Code: Select all
If Size > 4
And why do yo ignore the data if less was received? You should buffer it until it reaches 4 bytes.
Are U RIGHT!!HeX0R wrote: Sat Jun 28, 2025 2:48 pm no one saw the main error in the initial code?Code: Select all
If (PeekA(*Buffer) = $AD And PeekA(*Buffer + 1) = $BC And PeekA(*Buffer + 2) = $CB And PeekA(*Buffer + 3) = $DA) Debug "Got right packet" EndIf
Code: Select all
#BotAPIToken = "[your bot's API token]"
#ChatID = "[your chat's ID or username]"
Code: Select all
XIncludeFile "PureTelegram.pbi"
#BotAPIToken = "[7620816597:AAHhBvBM9qqlZ1arXJKmhFGTR_EfFcwaPGk]"
#ChatID = "[1701234043]"
txt.s = "Test"
mid.i = Telegram_PostText(#BotAPIToken,#ChatID,txt)
YesCaronte3D wrote: Wed Jun 25, 2025 11:18 am BTW... Have you created and added the Telegram bot to the group?