Class ReplyRowBuilder

Assembly: redb.Route.Telegram.dll

Fluent builder for a single row of reply keyboard buttons.

public sealed class ReplyRowBuilder

Inheritance

Object→ReplyRowBuilder

Methods

Button(string)

Adds a plain text button; tapping it sends the text as a message.

public ReplyRowBuilder Button(string text)

ContactButton(string)

Adds a button that requests the user's phone number.

public ReplyRowBuilder ContactButton(string text)

LocationButton(string)

Adds a button that requests the user's location.

public ReplyRowBuilder LocationButton(string text)

WebAppButton(string, string)

Adds a button that launches a Web App at url.

public ReplyRowBuilder WebAppButton(string text, string url)