telegramlib.bot_reply_text¶
- telegramlib.bot_reply_text(message, text_to_audio=False, translate_to=None, talking_about_latex=False)[source]¶
Makes the bot respond to a message from the user. Must be executed with await in front.
- Parameters:
message (str) – Bot response message.
text_to_audio (bool, optional) – True to send the text as audio (default is False).
translate_to (str or None, optional) – The language in which you want the message to arrive translated (default is None).
talking_about_latex (bool, optional) – True if the message mentions latex formulas that do not need to be converted (default is False).