1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Update file_name to visible_file_name in send_document

This commit is contained in:
Badiboy
2021-06-29 13:30:01 +03:00
parent 30e304ffb5
commit a4e73a05c6
3 changed files with 7 additions and 7 deletions

View File

@ -133,7 +133,7 @@ class TestTeleBot:
ret_msg = tb.send_document(CHAT_ID, file_data)
assert ret_msg.message_id
ret_msg = tb.send_document(CHAT_ID, file_data, file_name="test.jpg")
ret_msg = tb.send_document(CHAT_ID, file_data, visible_file_name="test.jpg")
assert ret_msg.message_id
def test_send_file_dis_noti(self):