Inherits Function.
Returns information about actual author of a message sent on behalf of a channel. The method can be called if messageProperties.can_get_author == true.
Returns object_ptr<User>.
Public Fields | |
int53 | chat_id_ |
Chat identifier. | |
int53 | message_id_ |
Identifier of the message. | |
Public Types | |
using | ReturnType = object_ptr< user > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getMessageAuthor () | |
getMessageAuthor (int53 chat_id_, int53 message_id_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1890166449 |
Identifier uniquely determining a type of the object. | |
getMessageAuthor | ( | ) |
Default constructor for a function, which returns information about actual author of a message sent on behalf of a channel. The method can be called if messageProperties.can_get_author == true.
Returns object_ptr<User>.
getMessageAuthor | ( | int53 | chat_id_, |
int53 | message_id_ | ||
) |
Creates a function, which returns information about actual author of a message sent on behalf of a channel. The method can be called if messageProperties.can_get_author == true.
Returns object_ptr<User>.
[in] | chat_id_ | Chat identifier. |
[in] | message_id_ | Identifier of the message. |
|
finalvirtual |