SetStickerSetThumbnail class final
SetStickerSetThumbnail (setStickerSetThumbnail) - TDLib function
Sets a sticker set thumbnail.
- userId: Sticker set owner; ignored for regular users.
- name: Sticker set name. The sticker set must be owned by the current user.
- thumbnail: Thumbnail to set; pass null to remove the sticker set thumbnail (optional).
- format: Format of the thumbnail; pass null if thumbnail is removed (optional).
Ok is returned on completion.
- Inheritance
-
- Object
- TdFunction
- SetStickerSetThumbnail
Constructors
- SetStickerSetThumbnail({required int userId, required String name, InputFile? thumbnail, StickerFormat? format})
-
SetStickerSetThumbnail (setStickerSetThumbnail) - TDLib function
const
Properties
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- format → StickerFormat?
-
Format of the thumbnail; pass null if thumbnail is removed
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Sticker set name. The sticker set must be owned by the current user
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnail → InputFile?
-
Thumbnail to set; pass null to remove the sticker set thumbnail
final
- userId → int
-
Sticker set owner; ignored for regular users
final
Methods
-
copyWith(
{int? userId, String? name, InputFile? thumbnail, StickerFormat? format}) → SetStickerSetThumbnail - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type