Class InlineRowBuilder

Assembly: redb.Route.Telegram.dll

Fluent builder for a single row of inline keyboard buttons.

public sealed class InlineRowBuilder

Inheritance

Object→InlineRowBuilder

Methods

Callback(string, string)

Adds a callback button. The tap arrives as a CallbackQuery update carrying data.

public InlineRowBuilder Callback(string text, string data)

SwitchInlineQuery(string, string)

Adds a button that prompts the user to pick a chat and switches to inline mode with query.

public InlineRowBuilder SwitchInlineQuery(string text, string query = "")

SwitchInlineQueryCurrentChat(string, string)

Adds a button that switches to inline mode in the current chat with query.

public InlineRowBuilder SwitchInlineQueryCurrentChat(string text, string query = "")

Url(string, string)

Adds a button that opens a URL.

public InlineRowBuilder Url(string text, string url)

WebApp(string, string)

Adds a button that launches a Web App at url.

public InlineRowBuilder WebApp(string text, string url)