Inherits MessageContent.
A message with information about an ended call.
Public Fields | |
bool | is_video_ |
True, if the call was a video call. | |
object_ptr< CallDiscardReason > | discard_reason_ |
Reason why the call was discarded. | |
int32 | duration_ |
Call duration, in seconds. | |
Public Instance Methods | |
messageCall () | |
messageCall (bool is_video_, object_ptr< CallDiscardReason > &&discard_reason_, int32 duration_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
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 = 538893824 |
Identifier uniquely determining a type of the object. | |
messageCall | ( | ) |
A message with information about an ended call.
messageCall | ( | bool | is_video_, |
object_ptr< CallDiscardReason > && | discard_reason_, | ||
int32 | duration_ | ||
) |
A message with information about an ended call.
[in] | is_video_ | True, if the call was a video call. |
[in] | discard_reason_ | Reason why the call was discarded. |
[in] | duration_ | Call duration, in seconds. |
|
finalvirtual |