InputBusinessStartPage class final
Describes settings for a business account start page to set
Constructors
- InputBusinessStartPage({required String title, required String message, InputFile? sticker})
-
Describes settings for a business account start page to set
const
-
InputBusinessStartPage.fromJson(Map<
String, dynamic> json) -
Parses a InputBusinessStartPage from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Message text of the start page; 0-getOption("business_start_page_message_length_max") characters
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sticker → InputFile?
-
Greeting sticker of the start page; pass null if none. The sticker must belong to a sticker set and must not be a custom emoji
final
- title → String
-
Title text of the start page; 0-getOption("business_start_page_title_length_max") characters
final
Methods
-
copyWith(
{String? title, String? message, InputFile? sticker()?}) → InputBusinessStartPage -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.