Closed rostislav-maslov closed 8 years ago
Hi @pengrad ,
Thanks for ur library, it's so helpful. Please feel free to write to me if you have any questions.
I'm using version 2.1.1
Hi! I can not reproduce. I have correct file name with your code. Anyway you can explicitly call fileName("my file name") on sendDocument request. See https://github.com/pengrad/java-telegram-bot-api/issues/32
My bad, using 2.1.0 instead of 2.1.1
Steps to reproduce:
Expected result: File with name "My own file name.pdf" or "My own file name caption.pdf"
Actual result: File with name "file.txt"