Copy This -> VAR_NAME = os.environ.get("VAR_NAME", "") Paste It On Config.py File.Replace VAR_NAME.Įg : SESSION_STRING = os.environ.get("SESSION_STRING", "") app. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bots message. ssagetext messagetext self.parsemode parsemode self.disablewebpagepreview disablewebpagepreview def. nnUse it replying to the message the bot already echoed and you want to. Config.pyĪfter Finishing All Deploy It Add More Vars. def disablewebpagepreview(update, context): if not. MessagesĪfter Replace YOUR And Go To Script.py And Type Like This YOUR_MSG = """Your Text""" Replace Your Text To Your Cutom Message. You Can Change The Messages By Replace 4Th Line text=Script.YOUR_MSG, Replace YOUR To Your Command Name. private) async def text( client, message): 1: Prevent URLs in my message that I send to others to be auto-previewed on their end I know this is possible when sending messages through a bot, by using the disablewebpagepreview flag.
0 Comments
Leave a Reply. |