tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::diffText Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::diffText:
td::td_api::Object td::TlObject

Public Member Functions

 diffText ()
 
 diffText (string const &text_, array< object_ptr< diffEntity > > &&entities_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

string text_
 The text.
 
array< object_ptr< diffEntity > > entities_
 Entities describing changes in the text. Entities don&#x27;t mutually intersect with each other.
 

Static Public Attributes

static const std::int32_t ID = 1328070684
 Identifier uniquely determining a type of the object.
 

Detailed Description

A text with some changes highlighted.

Definition at line 19073 of file td_api.h.

Constructor & Destructor Documentation

◆ diffText() [1/2]

td::td_api::diffText::diffText ( )

A text with some changes highlighted.

◆ diffText() [2/2]

td::td_api::diffText::diffText ( string const &  text_,
array< object_ptr< diffEntity > > &&  entities_ 
)

A text with some changes highlighted.

Parameters
[in]text_The text.
[in]entities_Entities describing changes in the text. Entities don&#x27;t mutually intersect with each other.

Member Function Documentation

◆ store()

void td::td_api::diffText::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ entities_

array<object_ptr<diffEntity> > td::td_api::diffText::entities_

Entities describing changes in the text. Entities don&#x27;t mutually intersect with each other.

Definition at line 19086 of file td_api.h.

◆ ID

const std::int32_t td::td_api::diffText::ID = 1328070684
static

Identifier uniquely determining a type of the object.

Definition at line 19102 of file td_api.h.

◆ text_

string td::td_api::diffText::text_

The text.

Definition at line 19084 of file td_api.h.


The documentation for this class was generated from the following file: