Modify the telegram return message
This commit is contained in:
@@ -196,7 +196,7 @@ class TelegramTunnel(AgentTunnel):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if self.allow_group != "guest":
|
if self.allow_group != "guest":
|
||||||
await update.message.reply_text(f"You're not supposed to talk to me! Please contact my father~")
|
await update.message.reply_text(f"The current Telegram account is not in the contact list. If you want to receive a reply, you can add the configuration in the contacts.toml file or switch tunnel to guest mode.")
|
||||||
return
|
return
|
||||||
|
|
||||||
if cm.is_auto_create_contact_from_telegram:
|
if cm.is_auto_create_contact_from_telegram:
|
||||||
|
|||||||
Reference in New Issue
Block a user