InlineQueryResultArticle class
Represents a link to an article or web page.
- Implemented types
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- InlineQueryResultArticle({String? type = 'article', String? id, String? title, InputMessageContent? inputMessageContent, InlineKeyboardMarkup? replyMarkup, String? url, bool? hideUrl, String? description, String? thumbUrl, String? thumbWidth, String? thumbHeight})
-
InlineQueryResultArticle.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description ↔ String?
-
Optional. Short description of the result.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideUrl ↔ bool?
-
Optional.
Pass True, if you don't want the URL to be shown in the message.
getter/setter pair
- id ↔ String?
-
Unique identifier for this result, 1-64 bytes.
getter/setter pairoverride
- inputMessageContent ↔ InputMessageContent?
-
Content of the message to be sent.
getter/setter pair
- replyMarkup ↔ InlineKeyboardMarkup?
-
Optional. Inline keyboard attached to the message
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbHeight ↔ String?
-
Optional. Thumbnail height.
getter/setter pair
- thumbUrl ↔ String?
-
Optional. Url of the thumbnail for the result.
getter/setter pair
- thumbWidth ↔ String?
-
Optional. Thumbnail width.
getter/setter pair
- title ↔ String?
-
Title of the result.
getter/setter pair
- type ↔ String?
-
Type of the result, must be article.
getter/setter pairoverride
- url ↔ String?
-
Optional. URL of the result.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited