Open PazChauhan opened 8 years ago
it has worked for me to receive a photo, so it must be something random, anyway, the problem is view_photo will not work as message id is always 0
Hi,
are you using send_photo on a secret chat?
send_photo works fine for me on a basic and group chat, just NOT on a secret chat. Do you have any sample code of this working for you that I can refer to please?
Thanks in advance Paz
On 17 Oct 2016, at 10:34, purplesrl notifications@github.com wrote:
it has worked for me to receive a photo, so it must be something random, anyway, the problem is view_photo will not work as message id is always 0
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vysheng/tg/issues/1200#issuecomment-254159255, or mute the thread https://github.com/notifications/unsubscribe-auth/AL4gCa2vdgPO92KmCGX6Mv9gT1a-03tJks5q00EdgaJpZM4KC0om.
Kind regards Paz Chauhan
Senior Technical Consultant Cell Software Services Ltd Email: paz.chauhan@cellsoftware.co.uk mailto:pia.fager@cellsoftware.co.uk Skype: paz.chauhan Mobile: +44(0)7778558514
http://www.cellsoftware.co.uk/ http://www.cellsoftware.co.uk/
@PazChauhan
i said it has worked for me to receive a photo in secret chat, i was merely pointing out that even if the function would work, there would be a problem using view_photo, which asks for msg-id, which in secret chat is always 0
update: yes, it worked to send a photo in secret chat, I used the following syntax:
send_photo !_Max /home/purple/test.jpg
I did not have debugging enabled but no error was shown and the photo was received by the other party, safe_quit does not work, but quit works and restart works
Hi,
Yes, I too can receive a photo in secret chat. Luckily, I do not need to view photo, but good to know its shortcomings.
Thanks, Paz
On 17 Oct 2016, at 12:31, purplesrl notifications@github.com wrote:
@PazChauhan https://github.com/PazChauhan i said it has worked for me to receive a photo in secret chat, i was merely pointing out that even if the function would work, there would be a problem using view_photo, which asks for msg-id, which in secret chat is always 0
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vysheng/tg/issues/1200#issuecomment-254182641, or mute the thread https://github.com/notifications/unsubscribe-auth/AL4gCQtaFFdjjLFSXrsyd-wxuM1K6Zmxks5q01yagaJpZM4KC0om.
Kind regards Paz Chauhan
Senior Technical Consultant Cell Software Services Ltd Email: paz.chauhan@cellsoftware.co.uk mailto:pia.fager@cellsoftware.co.uk Skype: paz.chauhan Mobile: +44(0)7778558514
http://www.cellsoftware.co.uk/ http://www.cellsoftware.co.uk/
When replying to a Basic or Group message I am able to send an image using
send_photo(peer, file)
.When replying to a secret chat message, I generate the response using the same code as for the Basic and Group message responses i.e. using
send_photo(peer, file)
.. However, no photo is sent for the Secret Message and telegram-cli cannot be 'safe_quit'. I need to 'quit' to exit telegram-cli, but it cannot be restarted. This is the log I get when trying to relaunch: