|
TDLib
|
Inherits td::td_api::MessageContent.
Public Member Functions | |
| messageCall () | |
| messageCall (bool is_video_, object_ptr< CallDiscardReason > &&discard_reason_, int32 duration_) | |
| std::int32_t | get_id () const final |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 538893824 |
| Identifier uniquely determining a type of the object. | |
A message with information about an ended call.
| td::td_api::messageCall::messageCall | ( | ) |
A message with information about an ended call.
| td::td_api::messageCall::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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.