class TelegramBot::InlineQueryResultArticle
Defined in:
telegram_bot/types/inline/inline_query_result_article.crConstant Summary
-
FIELDS =
{type: {type: String, mustbe: "article"}, id: String, title: String, input_message_content: InputMessageContent, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, url: {type: String, nilable: true}, hide_url: {type: Bool, nilable: true}, description: {type: String, nilable: true}, thumb_url: {type: String, nilable: true}, thumb_width: {type: Int32, nilable: true}, thumb_height: {type: Int32, nilable: true}}
Constructors
- .new(id : String, title : String, input_message_content : InputMessageContent, reply_markup : InlineKeyboardMarkup | Nil = nil, url : String | Nil = nil, hide_url : Bool | Nil = nil, description : String | Nil = nil, thumb_url : String | Nil = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
- .new(__temp_100 : JSON::PullParser)
Instance Method Summary
- #description : String | Nil
- #description=(_description : String | Nil)
- #hide_url : Bool | Nil
- #hide_url=(_hide_url : Bool | Nil)
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent
- #input_message_content=(_input_message_content : InputMessageContent)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_height : Int32 | Nil
- #thumb_height=(_thumb_height : Int32 | Nil)
- #thumb_url : String | Nil
- #thumb_url=(_thumb_url : String | Nil)
- #thumb_width : Int32 | Nil
- #thumb_width=(_thumb_width : Int32 | Nil)
- #title : String
- #title=(_title : String)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
- #url : String | Nil
- #url=(_url : String | Nil)
Constructor Detail
def self.new(id : String, title : String, input_message_content : InputMessageContent, reply_markup : InlineKeyboardMarkup | Nil = nil, url : String | Nil = nil, hide_url : Bool | Nil = nil, description : String | Nil = nil, thumb_url : String | Nil = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
#