MCPcopy Create free account

hub / github.com/Itz-JEOL/File-To-Link / functions

Functions57 in github.com/Itz-JEOL/File-To-Link

↓ 6 callersFunctionget_media_from_message
(message: "Message")
Adarsh/utils/file_properties.py:32
↓ 5 callersMethodadd_user
(self, id)
Adarsh/utils/database.py:18
↓ 5 callersFunctionget_name
(media_msg: Message)
Adarsh/utils/file_properties.py:53
↓ 5 callersFunctionget_readable_file_size
(size_in_bytes)
utils_bot.py:29
↓ 5 callersFunctionhumanbytes
(size)
Adarsh/utils/human_readable.py:4
↓ 4 callersFunctionget_hash
(media_msg: Message)
Adarsh/utils/file_properties.py:49
↓ 4 callersMethodis_user_exist
(self, id)
Adarsh/utils/database.py:30
↓ 2 callersFunctionget_file_ids
(client: Client, chat_id: int, id: int)
Adarsh/utils/file_properties.py:19
↓ 2 callersMethodtotal_users_count
(self)
Adarsh/utils/database.py:34
↓ 1 callersMethodclean_cache
function to clean the cache to reduce memory usage
Adarsh/utils/custom_dl.py:224
↓ 1 callersMethoddelete_user
(self, user_id)
Adarsh/utils/database.py:42
↓ 1 callersMethodgenerate_file_properties
Generates the properties of a media file on a specific message. returns ths properties in a FIleId class.
Adarsh/utils/custom_dl.py:47
↓ 1 callersMethodgenerate_media_session
Generates the media session for the DC that contains the media file. This is required for getting the bytes from Telegram servers.
Adarsh/utils/custom_dl.py:61
↓ 1 callersMethodget_all_users
(self)
Adarsh/utils/database.py:38
↓ 1 callersMethodget_file_properties
Returns the properties of a media of a specific message in a FIleId class. if the properties are cached, then it'll return the cached
Adarsh/utils/custom_dl.py:36
↓ 1 callersMethodget_location
Returns the file location for the media file.
Adarsh/utils/custom_dl.py:119
↓ 1 callersFunctionget_media_file_size
(m)
Adarsh/utils/file_properties.py:57
↓ 1 callersFunctionget_readable_time
(seconds: int)
Adarsh/utils/time_format.py:4
↓ 1 callersFunctioninitialize_clients
()
Adarsh/bot/clients.py:11
↓ 1 callersFunctionlist
(l, m)
Adarsh/bot/plugins/extra.py:65
↓ 1 callersFunctionmedia_streamer
(request: web.Request, id: int, secure_hash: str)
Adarsh/server/stream_routes.py:90
↓ 1 callersMethodnew_user
(self, id)
Adarsh/utils/database.py:12
↓ 1 callersFunctionparse_file_id
(message: "Message")
Adarsh/utils/file_properties.py:9
↓ 1 callersFunctionparse_file_unique_id
(message: "Messages")
Adarsh/utils/file_properties.py:14
↓ 1 callersMethodparse_from_env
(self)
Adarsh/utils/config_parser.py:10
↓ 1 callersFunctionping_server
()
Adarsh/utils/keepalive.py:8
↓ 1 callersFunctionreadable_time
(seconds: int)
utils_bot.py:62
↓ 1 callersFunctionrender_page
(id, secure_hash)
Adarsh/utils/render_template.py:12
↓ 1 callersFunctionsend_msg
(user_id, message)
Adarsh/utils/broadcast_helper.py:8
↓ 1 callersFunctionstart_client
(client_id, token)
Adarsh/bot/clients.py:19
↓ 1 callersFunctionstart_services
()
Adarsh/__main__.py:31
↓ 1 callersFunctionweb_server
()
Adarsh/server/__init__.py:7
↓ 1 callersMethodyield_file
Custom generator that yields the bytes of the media file. Modded from <https://github.com/eyaadh/megadlbot_oss/blob/master/mega/teleg
Adarsh/utils/custom_dl.py:163
Method__init__
(self, interval, action)
utils_bot.py:12
Method__init__
(self, uri, database_name)
Adarsh/utils/database.py:7
Method__init__
(self, config_file: Optional[str] = None)
Adarsh/utils/config_parser.py:6
Method__init__
A custom class that holds the cache of a specific client and class functions. attributes: client: the client that the cache is for
Adarsh/utils/custom_dl.py:16
Method__setInterval
(self)
utils_bot.py:19
Functionabout_handler
(bot, message)
Adarsh/bot/plugins/start_help.py:96
Methodadd_user_pass
(self, id, ag_pass)
Adarsh/utils/database.py:22
Functionbroadcast_
(c, m)
Adarsh/bot/plugins/admin.py:27
Methodcancel
(self)
utils_bot.py:25
Functionchannel_receive_handler
(bot, broadcast)
Adarsh/bot/plugins/stream.py:55
Functionfollow_user
(b,m)
Adarsh/bot/plugins/extra.py:34
Functionget_readable_time
(seconds: int)
utils_bot.py:42
Methodget_user_pass
(self, id)
Adarsh/utils/database.py:26
Functionhelp_handler
(bot, message)
Adarsh/bot/plugins/start_help.py:72
Functionhuman_size
Returns a human readable string representation of bytes
Adarsh/utils/file_size.py:2
Functionmaintainers
(b,m)
Adarsh/bot/plugins/extra.py:14
Functionping
(b, m)
Adarsh/bot/plugins/extra.py:74
Functionprivate_receive_handler
(c: Client, m: Message)
Adarsh/bot/plugins/stream.py:26
Functionroot_route_handler
(_)
Adarsh/server/stream_routes.py:25
Functionstart
(bot, update)
Adarsh/bot/plugins/extra.py:54
Functionstart
(b, m)
Adarsh/bot/plugins/start_help.py:18
Functionstats
(bot, update)
Adarsh/bot/plugins/extra.py:85
Functionstream_handler
(request: web.Request)
Adarsh/server/stream_routes.py:45
Functionsts
(c: Client, m: Message)
Adarsh/bot/plugins/admin.py:19