MCPcopy Create free account

hub / github.com/TechifyBots/File-Stream-Bot / functions

Functions60 in github.com/TechifyBots/File-Stream-Bot

↓ 6 callersFunctionget_media_from_message
(message: "Message")
biisal/utils/file_properties.py:32
↓ 5 callersFunctionget_name
(media_msg: Message)
biisal/utils/file_properties.py:53
↓ 4 callersMethodadd_user
(self, id)
biisal/utils/database.py:21
↓ 4 callersFunctionget_hash
(media_msg: Message)
biisal/utils/file_properties.py:49
↓ 4 callersFunctionget_shortlink
(url)
biisal/bot/plugins/stream.py:28
↓ 3 callersFunctionhumanbytes
(size)
biisal/utils/human_readable.py:6
↓ 3 callersMethodis_user_exist
(self, id)
biisal/utils/database.py:33
↓ 2 callersFunctionget_file_ids
(client: Client, chat_id: int, id: int)
biisal/utils/file_properties.py:19
↓ 2 callersMethodis_banned
(self , user_id)
biisal/utils/database.py:56
↓ 2 callersMethodtotal_users_count
(self)
biisal/utils/database.py:37
↓ 1 callersMethodban_user
(self , user_id)
biisal/utils/database.py:48
↓ 1 callersMethodclean_cache
function to clean the cache to reduce memory usage
biisal/utils/custom_dl.py:224
↓ 1 callersMethoddelete_user
(self, user_id)
biisal/utils/database.py:45
↓ 1 callersMethodgenerate_file_properties
Generates the properties of a media file on a specific message. returns ths properties in a FIleId class.
biisal/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.
biisal/utils/custom_dl.py:61
↓ 1 callersFunctiongenerate_random_alphanumeric
Generate a random 8-letter alphanumeric string.
biisal/bot/plugins/stream.py:22
↓ 1 callersMethodget_all_users
(self)
biisal/utils/database.py:41
↓ 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 cach
biisal/utils/custom_dl.py:36
↓ 1 callersMethodget_location
Returns the file location for the media file.
biisal/utils/custom_dl.py:119
↓ 1 callersFunctionget_media_file_size
(m)
biisal/utils/file_properties.py:57
↓ 1 callersFunctionget_readable_time
(seconds: int)
biisal/utils/time_format.py:5
↓ 1 callersFunctioninitialize_clients
()
biisal/bot/clients.py:11
↓ 1 callersFunctionis_enabled
(value, default)
biisal/vars.py:6
↓ 1 callersMethodis_unbanned
(self , user_id)
biisal/utils/database.py:60
↓ 1 callersFunctionmedia_streamer
(request: web.Request, id: int, secure_hash: str)
biisal/server/stream_routes.py:90
↓ 1 callersMethodnew_user
(self, id)
biisal/utils/database.py:15
↓ 1 callersFunctionparse_file_id
(message: "Message")
biisal/utils/file_properties.py:9
↓ 1 callersFunctionparse_file_unique_id
(message: "Messages")
biisal/utils/file_properties.py:14
↓ 1 callersMethodparse_from_env
(self)
biisal/utils/config_parser.py:10
↓ 1 callersFunctionping_server
()
biisal/utils/keepalive.py:8
↓ 1 callersFunctionrender_page
(id, secure_hash, src=None)
biisal/utils/render_template.py:12
↓ 1 callersFunctionsend_msg
(user_id, message)
biisal/utils/broadcast_helper.py:9
↓ 1 callersFunctionstart_client
(client_id, token)
biisal/bot/clients.py:19
↓ 1 callersFunctionstart_services
()
biisal/__main__.py:33
↓ 1 callersFunctionweb_server
()
biisal/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/tel
biisal/utils/custom_dl.py:163
Method__init__
(self, interval, action)
utils_bot.py:12
Method__init__
(self, uri, database_name)
biisal/utils/database.py:9
Method__init__
(self, config_file: Optional[str] = None)
biisal/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 f
biisal/utils/custom_dl.py:16
Method__setInterval
(self)
utils_bot.py:19
Methodadd_user_pass
(self, id, ag_pass)
biisal/utils/database.py:25
Functionbroadcast_
(c, m)
biisal/bot/plugins/admin.py:29
Methodcancel
(self)
utils_bot.py:25
Functioncb_handler
(client, query)
biisal/bot/plugins/commands.py:192
Functionchannel_receive_handler
(bot, broadcast)
biisal/bot/plugins/stream.py:142
Functiondo_ban
(bot , message)
biisal/bot/plugins/commands.py:143
Functiondo_unban
(bot , message)
biisal/bot/plugins/commands.py:168
Functionget_readable_file_size
(size_in_bytes)
utils_bot.py:29
Functionget_readable_time
(seconds: int)
utils_bot.py:42
Methodget_user_pass
(self, id)
biisal/utils/database.py:29
Functionhello_world
()
app.py:5
Functionhelp_cd
(b, m)
biisal/bot/plugins/commands.py:87
Functionhuman_size
Returns a human readable string representation of bytes
biisal/utils/file_size.py:4
Functionprivate_receive_handler
(c: Client, m: Message)
biisal/bot/plugins/stream.py:52
Functionreadable_time
(seconds: int)
utils_bot.py:62
Functionroot_route_handler
(_)
biisal/server/stream_routes.py:26
Functionstart
(b, m)
biisal/bot/plugins/commands.py:30
Functionstream_handler
(request: web.Request)
biisal/server/stream_routes.py:45
Functionsts
(c: Client, m: Message)
biisal/bot/plugins/admin.py:21