jsmnbom · GitHub

@jsmnbom

…ote and Voice

tsnoam

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=E0611,E0213,E1102,C0103,E1101,W0613,R0913,R0904
# flake8: noqa E501

@log
def get_file(self, file_id, timeout=None, **kwargs):
def get_file(self, file_or_file_id, timeout=None, **kwargs):
:class:`telegram.Message`: On success, instance representing the message posted.

"""
return self.bot.send_message(chat_id=self.id, *args, **kwargs)
"""
Use this method to get basic info about the audio file and prepare it for downloading.
For the moment, bots can download files of up to 20MB in size. The file can then be
downloaded with :attr:`telegram.File.download`. It is guaranteed that the link will be

@tsnoam

@tsnoam

tsnoam deleted the more-instance-methods branch

February 18, 2018 15:49

This was referenced

Mar 2, 2018

Closed

Closed

Merged

Merged

Merged

Read the original on github.com ↗