mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-16 04:05:47 +00:00
78 lines
2.3 KiB
Text
78 lines
2.3 KiB
Text
|
|
# SOME DESCRIPTIVE TITLE.
|
||
|
|
# Copyright (C) 2022, aiogram Team
|
||
|
|
# This file is distributed under the same license as the aiogram package.
|
||
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||
|
|
#
|
||
|
|
#, fuzzy
|
||
|
|
msgid ""
|
||
|
|
msgstr ""
|
||
|
|
"Project-Id-Version: aiogram \n"
|
||
|
|
"Report-Msgid-Bugs-To: \n"
|
||
|
|
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
|
||
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||
|
|
"MIME-Version: 1.0\n"
|
||
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
||
|
|
"Content-Transfer-Encoding: 8bit\n"
|
||
|
|
"Generated-By: Babel 2.10.3\n"
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:3
|
||
|
|
msgid "getFile"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:5
|
||
|
|
msgid "Returns: :obj:`File`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: aiogram.methods.get_file.GetFile:1 of
|
||
|
|
msgid ""
|
||
|
|
"Use this method to get basic information about a file and prepare it for "
|
||
|
|
"downloading. For the moment, bots can download files of up to 20MB in "
|
||
|
|
"size. On success, a :class:`aiogram.types.file.File` object is returned. "
|
||
|
|
"The file can then be downloaded via the link "
|
||
|
|
":code:`https://api.telegram.org/file/bot<token>/<file_path>`, where "
|
||
|
|
":code:`<file_path>` is taken from the response. It is guaranteed that the"
|
||
|
|
" link will be valid for at least 1 hour. When the link expires, a new one"
|
||
|
|
" can be requested by calling :class:`aiogram.methods.get_file.GetFile` "
|
||
|
|
"again. **Note:** This function may not preserve the original file name "
|
||
|
|
"and MIME type. You should save the file's MIME type and name (if "
|
||
|
|
"available) when the File object is received."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: aiogram.methods.get_file.GetFile:4 of
|
||
|
|
msgid "Source: https://core.telegram.org/bots/api#getfile"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.get_file.GetFile.file_id:1 of
|
||
|
|
msgid "File identifier to get information about"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:14
|
||
|
|
msgid "Usage"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:17
|
||
|
|
msgid "As bot method"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:25
|
||
|
|
msgid "Method as object"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:27
|
||
|
|
msgid "Imports:"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:29
|
||
|
|
msgid ":code:`from aiogram.methods.get_file import GetFile`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:30
|
||
|
|
msgid "alias: :code:`from aiogram.methods import GetFile`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/get_file.rst:33
|
||
|
|
msgid "With specific bot"
|
||
|
|
msgstr ""
|