Can we move the wait_a_moment function before func_sender(message, destination_chat)? If so It'll improve clone speed with my menu to select filetypes.
Something like that:
if func_sender in files_type_excluded:
list_posted += [message.id]
update_cache(CACHE_FILE, list_posted)
continue
wait_a_moment(message_id)
func_sender(message, destination_chat)
I'm asking that because I'm wondering if Telegram will give FloodWait if I make a lot of get_message requests in a short period.
Can we move the
wait_a_moment
function beforefunc_sender(message, destination_chat)
? If so It'll improve clone speed with my menu to select filetypes.Something like that:
I'm asking that because I'm wondering if Telegram will give FloodWait if I make a lot of
get_message
requests in a short period.