mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Compare commits
6 commits
dbc92852e8
...
6110d6c01e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6110d6c01e | ||
|
|
6bbff46417 | ||
|
|
2c32c152cb | ||
|
|
97db9130bb | ||
|
|
fa9781d62c | ||
|
|
200d6fcbd7 |
4 changed files with 3 additions and 8 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# along with Pyrofork. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
__fork_name__ = "PyroFork"
|
||||
__version__ = "2.3.68"
|
||||
__version__ = "2.3.69"
|
||||
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
|
||||
__copyright__ = "Copyright (C) 2022-present Mayuri-Chan <https://github.com/Mayuri-Chan>"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class ExportFolderLink:
|
|||
async def export_folder_link(
|
||||
self: "pyrogram.Client",
|
||||
folder_id: int
|
||||
) -> str:
|
||||
) -> "pyrogram.types.ExportedFolderLink":
|
||||
"""Export link to a user's folder.
|
||||
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
|
@ -35,7 +35,7 @@ class ExportFolderLink:
|
|||
Unique identifier (int) of the target folder.
|
||||
|
||||
Returns:
|
||||
``str``: On success, a link to the folder as string is returned.
|
||||
:obj:`~pyrogram.types.ExportedFolderLink` objects.
|
||||
|
||||
Example:
|
||||
.. code-block:: python
|
||||
|
|
|
|||
|
|
@ -159,9 +159,6 @@ class SendCachedMedia:
|
|||
media = utils.get_input_media_from_file_id(file_id)
|
||||
media.spoiler = has_spoiler
|
||||
|
||||
media = utils.get_input_media_from_file_id(file_id)
|
||||
media.spoiler = has_spoiler
|
||||
|
||||
r = await self.invoke(
|
||||
raw.functions.messages.SendMedia(
|
||||
peer=await self.resolve_peer(chat_id),
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ class BotBusinessConnection(Object):
|
|||
self.user = user
|
||||
self.dc_id = dc_id
|
||||
self.date = date
|
||||
self.can_reply = can_reply
|
||||
self.is_disabled = is_disabled
|
||||
|
||||
@staticmethod
|
||||
|
|
@ -75,7 +74,6 @@ class BotBusinessConnection(Object):
|
|||
user = await client.get_users(bot_connection.user_id),
|
||||
dc_id = bot_connection.dc_id,
|
||||
date = utils.timestamp_to_datetime(bot_connection.date),
|
||||
can_reply = bot_connection.can_reply,
|
||||
is_disabled = bot_connection.disabled,
|
||||
client=client
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue