mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-10 04:24:59 +00:00
fix chatinfo in dms (#52)
This commit is contained in:
parent
f69f576e24
commit
6dce40d333
@ -37,12 +37,7 @@ async function getChatInfo(ctx: Context & { message: { text: string } }) {
|
||||
|
||||
return chatInfo;
|
||||
} else {
|
||||
return ctx.reply(
|
||||
Strings.groupOnly, {
|
||||
parse_mode: 'Markdown',
|
||||
// @ts-ignore
|
||||
reply_to_message_id: ctx.message.message_id
|
||||
});
|
||||
return Strings.groupOnly
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user