Telegram.Bot icon indicating copy to clipboard operation
Telegram.Bot copied to clipboard

### Problem in caption of image in version 13

Open payam-rsh opened this issue 9 years ago • 4 comments

Steps to reproduce

Expected behavior

Actual behavior

Environment data

NuGet Package Version: (e.g. 13.0.1)

.NET Version: (e.g. 4.7, Core RTM, Mono, etc.)

IDE: (e.g. VS2017, VS Code, etc.)

App: (e.g. Desktop, iOS, Android, etc.)

payam-rsh avatar Aug 05 '17 11:08 payam-rsh

when i send some text that contains new line char , in caption of SendPhotoAsync method , text that recived with \r or \n or \r\n charackters instead of make new line in text. this problem not appeared in version 10 . please help me

payam-rsh avatar Aug 05 '17 11:08 payam-rsh

I have the exactly the same problem, and I've just figured out that it works great when I pass a stored fileID as "FileToSend" parameter value to "SendPhotoAsync". The problem occurs when I try to pass a Stream of my photo to "SendPhotoAsync".

webiox avatar Aug 05 '17 12:08 webiox

thanks , this solution worked for me.

payam-rsh avatar Aug 05 '17 12:08 payam-rsh

Duplicate of #409

poulad avatar Aug 05 '17 12:08 poulad