Skip to content

Formatting #1627

Answered by hypernova7
Jexly0x asked this question in Q&A
May 23, 2022 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Copy the entities, like this

bot.on('message', ctx => {
  const { entities, text } = ctx.message
  ctx.reply(text, {
    entities,
    parse_mode: 'Markdown'  // use the same parse_mode that you used in the original message
  })
})

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@Jexly0x
Comment options

@MKRhere
Comment options

@Jexly0x
Comment options

Answer selected by Jexly0x
Comment options

You must be logged in to vote
4 replies
@BaalDev-Solutions
Comment options

@MKRhere
Comment options

@BaalDev-Solutions
Comment options

@MKRhere
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants