C# Class Taikandi.Telebot.Types.ReplyKeyboardMarkup

Inheritance: IReply
Datei anzeigen Open project: mrtaikandi/Telebot Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CreateReplyKeyboardMarkup ( IEnumerable keyboardButtons, bool oneTimeKeyboard = true, bool selective = true ) : ReplyKeyboardMarkup

Creates a ReplyKeyboardMarkup filled with the specified keyboardButtons.

CreateReplyKeyboardMarkup ( IEnumerable keyboardTitles, bool oneTimeKeyboard = true, bool selective = true ) : ReplyKeyboardMarkup

Creates a ReplyKeyboardMarkup filled with the specified keyboardTitles.

ReplyKeyboardMarkup ( bool oneTimeKeyboard = false, bool selective = true ) : System

Initializes a new instance of the ReplyKeyboardMarkup class.

Method Details

CreateReplyKeyboardMarkup() public static method

Creates a ReplyKeyboardMarkup filled with the specified keyboardButtons.
public static CreateReplyKeyboardMarkup ( IEnumerable keyboardButtons, bool oneTimeKeyboard = true, bool selective = true ) : ReplyKeyboardMarkup
keyboardButtons IEnumerable The keyboard buttons.
oneTimeKeyboard bool /// If set to true requests clients to hide the keyboard as soon as it's been used. Defaults to /// true. ///
selective bool /// If set to true hides custom keyboard for specific users only. Defaults to true. ///
return ReplyKeyboardMarkup

CreateReplyKeyboardMarkup() public static method

Creates a ReplyKeyboardMarkup filled with the specified keyboardTitles.
public static CreateReplyKeyboardMarkup ( IEnumerable keyboardTitles, bool oneTimeKeyboard = true, bool selective = true ) : ReplyKeyboardMarkup
keyboardTitles IEnumerable The titles of each keyboard button.
oneTimeKeyboard bool /// If set to true requests clients to hide the keyboard as soon as it's been used. Defaults to /// true. ///
selective bool /// If set to true hides custom keyboard for specific users only. Defaults to true. ///
return ReplyKeyboardMarkup

ReplyKeyboardMarkup() public method

Initializes a new instance of the ReplyKeyboardMarkup class.
public ReplyKeyboardMarkup ( bool oneTimeKeyboard = false, bool selective = true ) : System
oneTimeKeyboard bool /// If set to true requests clients to hide the keyboard as soon as it's been used. Defaults to /// false. ///
selective bool /// If set to true hides custom keyboard for specific users only. Defaults to true. ///
return System