Dear my Friend,
I wish understood it telegram can be usefull for my work
I work at school and I have an application where I need to send a message to some teachers
type " 5TC 3ora Rec Bitti "
Well I say you what I made
I Installed telegram on windows and I have also the portable version
I put the portable version on c:\work\errori\Telegram\Telegram
At installation it ask me a number of my phone and a verify number
then I set on setup to luch telegram at init when the system ( pc) is open
your test compiled is on c:\work\errori\telegram (test.exe)
you sad I need ctoken and chat id
On telegram I open botfather and I create a new bot sample @sost_bot
then I ask the token and it gave me the token and I copied on your test
then I link to Falcongate and I write /get_my_id and I have the id( number)
I insert token and id on your test
cToken := ""
cChat_id := ""
ctoken from botfather
cChat_id from falcongate
I run your test and it ask me a message and when I click to button "Enviar"
it return this error
404 not found
I tried with
LOCAL cToken := "", cChat_id := "@sost_bot"
it return - 404 error bad request
where I wrong ?
Questions
To send a message to all my teacher from fwh what I need ?
I need the number of phones or the his Id ?
if i need the id, How I can make to Know the number of id of each teacher ?
I hope your help
Best Regards
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com