Class ReplyKeyboardBuilder
Fluent builder for a .
public sealed class ReplyKeyboardBuilder
Inheritance
Methods
OneTime(bool)
Hide the keyboard after the user taps a button.
public ReplyKeyboardBuilder OneTime(bool value = true)
Persistent(bool)
Keep the keyboard open until explicitly removed.
public ReplyKeyboardBuilder Persistent(bool value = true)
Placeholder(string)
Placeholder text shown in the input field while the keyboard is active.
public ReplyKeyboardBuilder Placeholder(string text)
Resize(bool)
Resize the keyboard vertically to fit its buttons.
public ReplyKeyboardBuilder Resize(bool value = true)
Row(Action<ReplyRowBuilder>)
Adds a row of buttons. Empty rows are ignored.
public ReplyKeyboardBuilder Row(Action<ReplyRowBuilder> build)
Selective(bool)
Show the keyboard only to specific users (see Bot API docs).
public ReplyKeyboardBuilder Selective(bool value = true)