Skip to content

File Link Not Showing #62

Description

@simanto008

When forwraded the file the bot replys nothing
But the file is registerd in the database
And the deploy logs says this:

File "/usr/local/lib/python3.11/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/app/FileStream/bot/plugins/stream.py", line 39, in private_receive_handler
await get_file_ids(False, inserted_id, multi_clients, message)
File "/app/FileStream/utils/file_properties.py", line 22, in get_file_ids
log_msg = await send_file(FileStream, db_id, file_info['file_id'], message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/utils/file_properties.py", line 131, in send_file
file_caption = message.file_name
^^^^^^^^^^^^^^^^^
AttributeError: 'Message' object has no attribute 'file_name'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions