W
W
WasTabon2021-07-04 17:27:04
C++ / C#
WasTabon, 2021-07-04 17:27:04

Method for creating a telegram button under a message?

var UserKeyboard = new ReplyKeyboardMarkup()
            {
                Keyboard = new[]
                    {
                        new[]
                        {
                            new KeyboardButton("А"),
                        }
                    }
            };

Like this is how buttons are created from below, but under the message how to make it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-07-04
@WasTabon

Use InlineKeyboardMarkup
To make it easier with terms - read the manual
https://core.telegram.org/bots/api#inlinekeyboardmarkup
https://core.telegram.org/bots#inline-keyboards-an...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question