Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VJBots/VJ-File-Store
/ functions
Functions
79 in github.com/VJBots/VJ-File-Store
⨍
Functions
79
◇
Types & classes
8
↳
Endpoints
4
↓ 6 callers
Function
get_media_from_message
(message: "Message")
TechVJ/utils/file_properties.py:37
↓ 6 callers
Function
get_name
(media_msg: Message)
TechVJ/utils/file_properties.py:58
↓ 5 callers
Function
get_user
(user_id)
plugins/users_api.py:29
↓ 4 callers
Method
delete_user
(self, bot_id, user_id)
clone_plugins/dbusers.py:30
↓ 4 callers
Function
get_hash
(media_msg: Message)
TechVJ/utils/file_properties.py:54
↓ 3 callers
Method
delete_user
(self, user_id)
plugins/dbusers.py:36
↓ 3 callers
Function
get_short_link
(user, link)
plugins/users_api.py:16
↓ 3 callers
Function
get_user
(user_id)
clone_plugins/users_api.py:37
↓ 3 callers
Function
update_user_info
(user_id, value:dict)
plugins/users_api.py:46
↓ 2 callers
Function
check_verification
(bot, userid)
utils.py:67
↓ 2 callers
Function
formate_file_name
(file_name)
plugins/commands.py:43
↓ 2 callers
Function
get_file_ids
(client: Client, chat_id: int, id: int)
TechVJ/utils/file_properties.py:24
↓ 2 callers
Function
get_size
Get size in readable format
plugins/commands.py:32
↓ 2 callers
Function
get_token
(bot, userid, link)
utils.py:52
↓ 2 callers
Function
humanbytes
(size)
TechVJ/utils/human_readable.py:5
↓ 2 callers
Function
update_user_info
(user_id, value:dict)
clone_plugins/users_api.py:54
↓ 1 callers
Method
add_user
(self, id, name)
plugins/dbusers.py:21
↓ 1 callers
Method
add_user
(self, bot_id, user_id)
clone_plugins/dbusers.py:15
↓ 1 callers
Function
broadcast_messages
(user_id, message)
plugins/broadcast.py:17
↓ 1 callers
Function
broadcast_messages
(bot_id, user_id, message)
clone_plugins/broadcast.py:63
↓ 1 callers
Function
check_token
(bot, userid, token)
utils.py:39
↓ 1 callers
Method
clean_cache
function to clean the cache to reduce memory usage
TechVJ/utils/custom_dl.py:229
↓ 1 callers
Method
generate_file_properties
Generates the properties of a media file on a specific message. returns ths properties in a FIleId class.
TechVJ/utils/custom_dl.py:52
↓ 1 callers
Method
generate_media_session
Generates the media session for the DC that contains the media file. This is required for getting the bytes from Telegram servers.
TechVJ/utils/custom_dl.py:66
↓ 1 callers
Method
get_all_users
(self)
plugins/dbusers.py:33
↓ 1 callers
Method
get_all_users
(self, bot_id)
clone_plugins/dbusers.py:27
↓ 1 callers
Method
get_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
TechVJ/utils/custom_dl.py:41
↓ 1 callers
Method
get_location
Returns the file location for the media file.
TechVJ/utils/custom_dl.py:124
↓ 1 callers
Function
get_readable_time
(seconds: int)
TechVJ/utils/time_format.py:5
↓ 1 callers
Function
get_short_link
(user, link)
clone_plugins/users_api.py:24
↓ 1 callers
Function
get_size
Get size in readable format
clone_plugins/commands.py:29
↓ 1 callers
Function
get_verify_shorted_link
(link)
utils.py:15
↓ 1 callers
Function
initialize_clients
()
TechVJ/bot/clients.py:14
↓ 1 callers
Function
is_enabled
(value, default)
config.py:12
↓ 1 callers
Method
is_user_exist
(self, id)
plugins/dbusers.py:25
↓ 1 callers
Method
is_user_exist
(self, bot_id, id)
clone_plugins/dbusers.py:19
↓ 1 callers
Method
iter_messages
Iterate through a chat sequentially. This convenience method does the same as repeatedly calling :meth:`~pyrogram.Client.get_messages` in a lo
TechVJ/bot/__init__.py:22
↓ 1 callers
Function
media_streamer
(request: web.Request, id: int, secure_hash: str)
TechVJ/server/stream_routes.py:89
↓ 1 callers
Method
new_user
(self, id, name)
plugins/dbusers.py:15
↓ 1 callers
Function
parse_file_id
(message: "Message")
TechVJ/utils/file_properties.py:14
↓ 1 callers
Function
parse_file_unique_id
(message: "Messages")
TechVJ/utils/file_properties.py:19
↓ 1 callers
Method
parse_from_env
(self)
TechVJ/utils/config_parser.py:14
↓ 1 callers
Function
ping_server
()
TechVJ/utils/keepalive.py:12
↓ 1 callers
Function
render_page
(id, secure_hash, src=None)
TechVJ/utils/render_template.py:16
↓ 1 callers
Function
restart_bots
()
plugins/clone.py:76
↓ 1 callers
Function
start
()
bot.py:64
↓ 1 callers
Function
start_client
(client_id, token)
TechVJ/bot/clients.py:22
↓ 1 callers
Method
total_users_count
(self)
plugins/dbusers.py:29
↓ 1 callers
Method
total_users_count
(self, bot_id)
clone_plugins/dbusers.py:23
↓ 1 callers
Function
verify_user
(bot, userid, token)
utils.py:60
↓ 1 callers
Function
web_server
()
TechVJ/server/__init__.py:9
↓ 1 callers
Method
yield_file
Custom generator that yields the bytes of the media file. Modded from <https://github.com/eyaadh/megadlbot_oss/blob/master/mega/teleg
TechVJ/utils/custom_dl.py:168
Method
__init__
(self, uri, database_name)
plugins/dbusers.py:10
Method
__init__
(self, uri, database_name)
clone_plugins/dbusers.py:11
Method
__init__
(self, config_file: Optional[str] = None)
TechVJ/utils/config_parser.py:10
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
TechVJ/utils/custom_dl.py:21
Method
__init__
(self)
TechVJ/bot/__init__.py:12
Function
allowed
(_, __, message)
plugins/genlink.py:19
Function
base_site_handler
(client, m: Message)
plugins/commands.py:294
Function
base_site_handler
(client, m: Message)
clone_plugins/commands.py:129
Function
cb_handler
(client: Client, query: CallbackQuery)
plugins/commands.py:317
Function
cb_handler
(client: Client, query: CallbackQuery)
clone_plugins/commands.py:152
Function
clone
(client, message)
plugins/clone.py:17
Function
delete_cloned_bot
(client, message)
plugins/clone.py:55
Function
gen_link_batch
(bot, message)
plugins/genlink.py:86
Function
gen_link_s
(bot, message)
plugins/genlink.py:53
Function
gen_link_s
(client: Client, message)
clone_plugins/genlink.py:15
Function
get_media_file_size
(m)
TechVJ/utils/file_properties.py:62
Function
hello_world
()
app.py:5
Function
human_size
Returns a human readable string representation of bytes
TechVJ/utils/file_size.py:5
Function
incoming_gen_link
(bot, message)
plugins/genlink.py:31
Function
pm_broadcast
(bot, message)
clone_plugins/broadcast.py:14
Function
root_route_handler
(_)
TechVJ/server/stream_routes.py:25
Function
shortener_api_handler
(client, m: Message)
plugins/commands.py:275
Function
shortener_api_handler
(client, m: Message)
clone_plugins/commands.py:108
Function
start
(client, message)
plugins/commands.py:56
Function
start
(client, message)
clone_plugins/commands.py:45
Function
stream_handler
(request: web.Request)
TechVJ/server/stream_routes.py:44
Function
verupikkals
(bot, message)
plugins/broadcast.py:42