
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Oh , nice .
You modified SendPhoto or SendMessageGetID ?
SendPhoto, but there is multiple SendPhoto function in the file, maybe I picked the wrong one?
SendPhoto, but there is multiple SendPhoto function in the file, maybe I picked the wrong one?
No it was okay .
No it was okay .
You trully are amazing!
I learned many thing thanks to you, can I buy you a coffee? Its not much but its the least I can do given how much you gave me this past few days.
Please send me your paypal in private Lorentzos :)
You trully are amazing!
I learned many thing thanks to you, can I buy you a coffee? Its not much but its the least I can do given how much you gave me this past few days.
Please send me your paypal in private Lorentzos :)
No problem , i try to code everyday to stay "code fit". We might have that coffee someday ,thats all . :)
There was nothing bounded to the first boolean above, so I changed it to true and added this code to SendPhotoGetID in TelegramLmqh to reply with photos :
There is no error when I send messages to telegram but this doesnt work.
I'm guessing it has something to do with:
as the params variable isn't defined in it.
I tried to add it but WebRequest seems to have a defined parameters count. So I went with PostRequest like with SendMessageGetID but still no luck there...
No problem , i try to code everyday to stay "code fit". We might have that coffee someday ,thats all . :)
Alright ahah.
out is initialised but not defined, is it a variable that will receive its value by telegram in this case?
in any case, no error when I print it.
We can reply to a photo with a photo without problem in telegram so why not?
edit:
here I have a bad request ("no photo in the request")
It returns "Bad request" if you print the "out" variable in the function ?
I dont think you can reply to a photo with a photo - but i'll mod it ,see what i mean with code fit ? i forgot to place that functionality :D -
---- edits :
Hmm ,doesnt look very reply-ish : (maybe cause im sending the same photo)
This is because this isn't a reply, and yes I thought exactly the same thing about the photo, but I tried with a different one and it doesnt change anything.
edit:
Alright I found what was the error
I removed the "=" ->
form-data; name=\"reply_to_message_id=
This is because this isn't a reply, and yes I thought exactly the same thing about the photo, but I tried with a different one and it doesnt change anything.
edit:
Alright I found what was the error
I removed the "=" ->
Wow excellent :) . nice catch .
(and also added ArrayAdd(data,"--"+hash+"\r\n"); after the if replying to message)