Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: import get_session in client
  • Loading branch information
HitaloM committed Jan 29, 2024
commit 8ee32822598860fe266ef035e72638095b114bf3
3 changes: 2 additions & 1 deletion hydrogram/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
VolumeLocNotFound,
)
from hydrogram.handlers.handler import Handler
from hydrogram.methods import Methods, get_session
from hydrogram.methods import Methods
from hydrogram.methods.messages.inline_session import get_session
from hydrogram.session import Auth, Session
from hydrogram.storage import BaseStorage, SQLiteStorage
from hydrogram.types import ListenerTypes, TermsOfService, User
Expand Down
1 change: 1 addition & 0 deletions news/15.fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use `get_session` to get session when downloadind files