o
    _@h                     @   s>   d dl Z d dlZdZddddddZd	ed
edefddZdS )    Nz.7802652207:AAFQqnFb3sQoDfyH0k-f6BhH--k0NvuOujEz-1002632335609z-1002542245726z-1002597069124z-1002576924593z-1002648860110)u   Любовьu   Радостноu   Грустноu   Активноu   Спокойноcaptionfile_path_ralbum_titlec           	      C   sr   t |}|dd}d| d}d| d}tjdt d||| |dd}|jd	kr7td
 t	| d S d S )NzL/var/www/www-root/data/www/osiris0spin.ru/MyMusicBot/MusicChannel/downloads/ z9https://osiris0spin.ru/MyMusicBot/MusicChannel/downloads/z.mp3zhttps://api.telegram.org/botz
/sendAudio)chat_idaudior   title)data   z"[SUCCESS] Audio sent successfully.)
ALBUM_CHANNEL_MAPgetreplacerequestspost	BOT_TOKENstatus_codeprintosremove)	r   r   r   
trek_titler   	file_namefile_url	file_pathresponse r   W/var/www/www-root/data/www/osiris0spin.ru/MyMusicBot/MusicChannel/setMessegeTelegram.pysend_audio_to_channel   s    



r   )r   r   r   r   strr   r   r   r   r   <module>   s    