ref: replace "ctx.from.language_code" with a function to get the language code and fix ts implementation for "reply_to_message_id" (#51)
Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
This commit is contained in:
parent
6dce40d333
commit
87c987c16d
17 changed files with 193 additions and 160 deletions
5
src/utils/reply-to-message-id.ts
Normal file
5
src/utils/reply-to-message-id.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Context } from "telegraf"
|
||||
|
||||
export const replyToMessageId = (ctx: Context) => {
|
||||
return ctx.message?.message_id
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue