Пример #1
0
def magnet(update, context):
    """Asynchronously starts a magnet download and handles "/magnet" command

    Args:
        update:
            Telegram incoming update
    """
    try:
        muggnet(update=update, updater=updater, context=context)
    except:
        custom_error("Magnet function returned an error")
Пример #2
0
def magnet(update, context):
    try:
        muggnet(update=update, updater=updater, context=context)
    except:
        custom_error("Magnet function returned an error")