V
V
Vladimir2020-08-31 10:31:56
C++ / C#
Vladimir, 2020-08-31 10:31:56

Telegram bot C# InlineKeyboardButton multiline Caption can be done? How?

You need to put a multi-line caption on the Inline button.
Is there a possibility to do this?
I'm using Telegram.Bot version 15.7.1.0.
I tried to use \n , but it doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-09-01
@FFOX

The question turned out to be very simple.
The desktop client does not support a line break in the inline button's caption,
while everything works in the mobile client (\n).
Made a conclusion - it is necessary to test on all clients.
Question removed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question