WebPageInstantView class

Describes an instant view page for a web page

Inheritance

Constructors

WebPageInstantView({String? extra, int? client_id, vector<PageBlock>? page_blocks, int32? view_count, int32? version, Bool? is_rtl, Bool? is_full, InternalLinkType? feedback_link})
WebPageInstantView.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
An internal link to be opened to leave feedback about the instant view
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_full Bool?
True, if the instant view contains the full page. A network request might be needed to get the full web page instant view
getter/setter pair
is_rtl Bool?
True, if the instant view must be shown from right to left
getter/setter pair
page_blocks vector<PageBlock>?
Content of the web page
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride
version int32?
Version of the instant view; currently, can be 1 or 2
getter/setter pair
view_count int32?
Number of the instant view views; 0 if unknown
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited