BotNetwork

Reply keyboards vs inline keyboards

reply keyboards replace the client keyboard; remove them explicitly when done.

Guide1 min readUpdated

Why it matters

Reply keyboards replace the client keyboard; remove them explicitly when done.

Practical steps

  1. Use reply keyboards for simple persistent choices
  2. Prefer inline keyboards for message-scoped actions
  3. Send ReplyKeyboardRemove when the flow ends
  4. Keep button labels short for mobile
  5. Do not put secrets on keyboard buttons

Watch out for

  • Copy-pasting outdated snippets for telegram reply keyboards without re-reading current official docs.
  • Shipping telegram reply keyboards to production without a staging rehearsal and a documented rollback.

Related comparisons and tools