TDLib
Loading...
Searching...
No Matches
messageOriginChat Class Referencefinal

Inherits MessageOrigin.

Description

The message was originally sent on behalf of a chat.

Public Member Functions

 messageOriginChat ()
 messageOriginChat (int53 sender_chat_id_, string const &author_signature_)
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

string author_signature_
 For messages originally sent by an anonymous chat administrator, original message author signature.
int53 sender_chat_id_
 Identifier of the chat that originally sent the message.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageOriginChat() [1/2]

messageOriginChat ( )

The message was originally sent on behalf of a chat.

◆ messageOriginChat() [2/2]

messageOriginChat ( int53 sender_chat_id_,
string const & author_signature_ )

The message was originally sent on behalf of a chat.

Parameters
[in]sender_chat_id_Identifier of the chat that originally sent the message.
[in]author_signature_For messages originally sent by an anonymous chat administrator, original message author signature.

Member Function Documentation

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

Implements TlObject.


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