Exemplo n.º 1
0
 def reply_me_ephemeral(self, msg: Message):
     """reply ephemeral: the bot replies to you and only you can see it"""
     msg.reply("sure, I'll reply to you in an ephemeral message",
               ephemeral=True)
Exemplo n.º 2
0
 def reply_me_in_thread(self, msg: Message):
     """reply in thread: the bot replies to you in a thread"""
     msg.reply("sure, I'll reply to you in a thread", in_thread=True)
Exemplo n.º 3
0
 def reply_me(self, msg: Message):
     """reply: the bot replies to you"""
     msg.reply("sure, I'll reply to you",
               icon_url="https://placekitten.com/200/200")