C# (CSharp) NetTelegramBotApi.Types Namespace

Classes

Name Description
Audio This object represents an audio file to be treated as music by the Telegram clients.
CallbackQuery This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be presented. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be presented.
Chat This object represents a chat.
ChatMember This object contains information about one member of the chat.
ChosenInlineResult Represents a result of an inline query that was chosen by the user and sent to their chat partner.
Contact This object represents a phone contact.
File This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot/. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.
ForceReply Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. See more info on Telegram site
Game This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
GameHighScore This object represents one row of the high scores table for a game.
InlineKeyboardButton This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
InlineKeyboardMarkup This object represents an inline keyboard that appears right next to the message it belongs to.
InlineQuery This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
KeyboardButton
Location This object represents a point on the map.
MessageEntity This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
ReplyKeyboardMarkup This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
ReplyKeyboardRemove Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).
ResponseParameters Contains information about why a request was unsuccessfull
Sticker This object represents a sticker.
Update This object represents an incoming update.
User This object represents a Telegram user or bot.
UserProfilePhotos This object represent a user's profile pictures.
Venue This object represents a venue.
Video This object represents a video file.
Voice This object represents a voice note.
WebhookInfo Contains information about the current status of a webhook.