|
TDLib
|
Inherits Object.
Describes a style that can be used to compose a text.
Public Member Functions | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| textCompositionStyle () | |
| textCompositionStyle (string const &name_, int64 custom_emoji_id_, string const &title_, bool is_custom_, bool is_creator_, int32 install_count_, string const &prompt_, int53 creator_user_id_, object_ptr< textCompositionStyleExample > &&english_example_) | |
| 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 | |
| int53 | creator_user_id_ |
| User identifier of the creator of the style; 0 if none or unknown. | |
| int64 | custom_emoji_id_ |
| Identifier of the custom emoji corresponding to the style; 0 if none. | |
| object_ptr< textCompositionStyleExample > | english_example_ |
| Example of the style usage in English; may be null if unknown. | |
| int32 | install_count_ |
| Number of users that installed the style; for created custom styles only; 0 if unknown. | |
| bool | is_creator_ |
| True, if the user is creator of the style. | |
| bool | is_custom_ |
| True, if the style is created by a user. | |
| string | name_ |
| Name of the style. | |
| string | prompt_ |
| Prompt of the style; for created custom styles only. | |
| string | title_ |
| Title of the style in the user application's language. | |
Static Public Attributes | |
| static const std::int32_t | ID = -171516397 |
| Identifier uniquely determining a type of the object. | |
| textCompositionStyle | ( | ) |
Describes a style that can be used to compose a text.
| textCompositionStyle | ( | string const & | name_, |
| int64 | custom_emoji_id_, | ||
| string const & | title_, | ||
| bool | is_custom_, | ||
| bool | is_creator_, | ||
| int32 | install_count_, | ||
| string const & | prompt_, | ||
| int53 | creator_user_id_, | ||
| object_ptr< textCompositionStyleExample > && | english_example_ ) |
Describes a style that can be used to compose a text.
| [in] | name_ | Name of the style. |
| [in] | custom_emoji_id_ | Identifier of the custom emoji corresponding to the style; 0 if none. |
| [in] | title_ | Title of the style in the user application's language. |
| [in] | is_custom_ | True, if the style is created by a user. |
| [in] | is_creator_ | True, if the user is creator of the style. |
| [in] | install_count_ | Number of users that installed the style; for created custom styles only; 0 if unknown. |
| [in] | prompt_ | Prompt of the style; for created custom styles only. |
| [in] | creator_user_id_ | User identifier of the creator of the style; 0 if none or unknown. |
| [in] | english_example_ | Example of the style usage in English; may be null if unknown. |
|
finalvirtual |