I am trying to position a ‘help’ button at the bottom of my Telegram bot’s chat interface. Here’s what I’ve attempted so far:
Button[] helpButton = new Button[1];
helpButton[0] = new Button("Help");
KeyboardLayout layout = new KeyboardLayout(helpButton);
await Bot.SendMessageAsync(chatId, "<b>Help</b>", replyMarkup: layout);
Unfortunately, the button does not remain anchored at the bottom, and it moves up when a user starts typing. What can I do to ensure that the button stays fixed at the bottom of the chat window?
try creating an inline keyboard with inlinekeyboardmarkup
& inlinekeyboardbutton
. they remain stationary at the bottom of the message they are sent with. unlike normal buttons, they don’t move when typing. helps keep your UI neat. good luck fixing it! 
Another thing you might want to consider is exploring the use of persistent menu options if you’re looking for a more static setup. Although not specifically available in Telegram, this idea might give you a different creative direction. Think about your interface design and user experience. Sometimes simplifying your approach or reorganizing the flow can effectively keep important actions like help buttons accessible without sticking strictly to UI limitations. Additionally, checking out the latest updates on the Telegram Bot API could provide fresh solutions.