Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

How to use replay_markup #11

@puryanms

Description

@puryanms

hi,

how can i use replay_markup in bot ?

its not working :

assert (tdbot_function ({
  _ = "sendMessage",
  chat_id = math.ceil(msg.chat_id),
  reply_to_message_id = 0,
  disable_notification=false,
  from_background=true,
  reply_markup={
      _ = "replyMarkupShowKeyboard",
      resize_keyboard = true,
	  rows ={
        {
          [0] = {
            _ = "keyboardButton",
            text = "bottom1",
            type = {
              _ = "keyboardButtonTypeText"
            }
          }
        },
        {
          [0] = {
            _ = "keyboardButton",
            text = "bottom2",
            type = {
              _ = "keyboardButtonTypeText"
            }
          }
        },
	  },
 },
  input_message_content={
    _="inputMessageText",
    text= "itsok",
    disable_web_page_preview=true,
    clear_draft=false,
    entities={},
    parse_mode=MarkDown}
  }, dl_cb, nil))

ty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions