InlineQueryResultArticle class
Represents a link to an article or web page.
- Implemented types
Constructors
- InlineQueryResultArticle({required String id, required String title, required InputMessageContent inputMessageContent, InlineKeyboardMarkup? replyMarkup, String? url, bool? hideUrl, String? description, String? thumbnailUrl, int? thumbnailWidth, int? thumbnailHeight})
-
This object represents a link to an article or web page.A
const
-
InlineQueryResultArticle.fromJson(Map<
String, dynamic> json) -
De-serializes a InlineQueryResultArticle object from a JSON map
factory
Properties
- description → String?
-
Optional. Short description of the result
final
- 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
final
- id → String
-
Unique identifier for this result, 1-64 Bytes
final
- inputMessageContent → InputMessageContent
-
Content of the message to be sent
final
- replyMarkup → InlineKeyboardMarkup?
-
Optional. Inline keyboard attached to the message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnailHeight → int?
-
Optional. Thumbnail height
final
- thumbnailUrl → String?
-
Optional. Url of the thumbnail for the result
final
- thumbnailWidth → int?
-
Optional. Thumbnail width
final
- title → String
-
Title of the result
final
- type → InlineQueryResultType
-
Type of the result, always InlineQueryResultType.article
no setteroverride
- url → String?
-
Optional. URL of the result
final
Methods
-
copyWith(
{String? title, InputMessageContent? inputMessageContent, InlineKeyboardMarkup? replyMarkup, String? url, bool? hideUrl, String? description, String? thumbnailUrl, int? thumbnailWidth, int? thumbnailHeight, String? id}) → InlineQueryResultArticle - Copy method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts an InlineQueryResultArticle object to a JSON map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited