Class InlineQueryResultArticle


  • public class InlineQueryResultArticle
    extends InlineQueryResult
    Represents a link to an article or web page.
    • Constructor Detail

      • InlineQueryResultArticle

        public InlineQueryResultArticle()
      • InlineQueryResultArticle

        public InlineQueryResultArticle​(String title,
                                        String messageText)
        Parameters:
        title - Title of the result
        messageText - Text of the message to be sent
      • InlineQueryResultArticle

        public InlineQueryResultArticle​(String title,
                                        String messageText,
                                        ParseMode parseMode,
                                        Boolean disableWebPagePreview,
                                        String url,
                                        Boolean hideUrl,
                                        String description,
                                        String thumbUrl,
                                        Integer thumbWidth,
                                        Integer thumbHeight,
                                        InlineKeyboardMarkup replyMarkup,
                                        InputMessageContent inputMessageContent)
        Parameters:
        title - Title of the result
        messageText - Text of the message to be sent
        parseMode - Optional. Send “Markdown”, if you want Telegram apps to show bold, italic and inline URLs in your bot's message.
        disableWebPagePreview - Optional. Disables link previews for links in the sent message
        url - Optional. URL of the result
        hideUrl - Optional. Pass True, if you don't want the URL to be shown in the message
        description - Optional. Short description of the result
        thumbUrl - Optional. Url of the thumbnail for the result
        thumbWidth - Optional. Thumbnail width
        thumbHeight - Optional. Thumbnail height
        replyMarkup - Optional. Inline keyboard attached to the message
        inputMessageContent - Optional. Content of the message to be sent