|
TDLib
|
Inherits Function.
Edits a custom text composition style that was created by the current user.
Returns object_ptr<TextCompositionStyle>.
Public Types | |
| using | ReturnType = object_ptr<textCompositionStyle> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| editTextCompositionStyle () | |
| editTextCompositionStyle (string const &name_, string const &title_, int64 custom_emoji_id_, string const &prompt_, bool show_creator_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int64 | custom_emoji_id_ |
| Identifier of the custom emoji corresponding to the style. | |
| string | name_ |
| Name of the style. | |
| string | prompt_ |
| Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters. | |
| bool | show_creator_ |
| Pass true if the current user must be shown as the creator of the style. | |
| string | title_ |
| Title of the style; 1-getOption("text_composition_style_title_length_max") characters. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1251035657 |
| Identifier uniquely determining a type of the object. | |
| editTextCompositionStyle | ( | ) |
Default constructor for a function, which edits a custom text composition style that was created by the current user.
Returns object_ptr<TextCompositionStyle>.
| editTextCompositionStyle | ( | string const & | name_, |
| string const & | title_, | ||
| int64 | custom_emoji_id_, | ||
| string const & | prompt_, | ||
| bool | show_creator_ ) |
Creates a function, which edits a custom text composition style that was created by the current user.
Returns object_ptr<TextCompositionStyle>.
| [in] | name_ | Name of the style. |
| [in] | title_ | Title of the style; 1-getOption("text_composition_style_title_length_max") characters. |
| [in] | custom_emoji_id_ | Identifier of the custom emoji corresponding to the style. |
| [in] | prompt_ | Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters. |
| [in] | show_creator_ | Pass true if the current user must be shown as the creator of the style. |
|
finalvirtual |