Inherits Function.
Replaces existing sticker in a set. The function is equivalent to removeStickerFromSet, then addStickerToSet, then setStickerPositionInSet.
Returns object_ptr<Ok>.
|
static const std::int32_t | ID = -406311399 |
| Identifier uniquely determining a type of the object.
|
|
◆ replaceStickerInSet() [1/2]
◆ replaceStickerInSet() [2/2]
Creates a function, which replaces existing sticker in a set. The function is equivalent to removeStickerFromSet, then addStickerToSet, then setStickerPositionInSet.
Returns object_ptr<Ok>.
- Parameters
-
[in] | user_id_ | Sticker set owner; ignored for regular users. |
[in] | name_ | Sticker set name. The sticker set must be owned by the current user. |
[in] | old_sticker_ | Sticker to remove from the set. |
[in] | new_sticker_ | Sticker to add to the set. |
◆ store()
void store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: