|
TDLib
|
Inherits td::td_api::Function.
Public Types | |
| using | ReturnType = object_ptr< filePart > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| getGroupCallStreamSegment () | |
| getGroupCallStreamSegment (int32 group_call_id_, int53 time_offset_, int32 scale_, int32 channel_id_, object_ptr< GroupCallVideoQuality > &&video_quality_) | |
| 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 | |
| int32 | group_call_id_ |
| Group call identifier. | |
| int53 | time_offset_ |
| Point in time when the stream segment begins; Unix timestamp in milliseconds. | |
| int32 | scale_ |
| Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds. | |
| int32 | channel_id_ |
| Identifier of an audio/video channel to get as received from tgcalls. | |
| object_ptr< GroupCallVideoQuality > | video_quality_ |
| Video quality as received from tgcalls; pass null to get the worst available quality. | |
Static Public Attributes | |
| static const std::int32_t | ID = -2077959515 |
| Identifier uniquely determining a type of the object. | |
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
Returns object_ptr<FilePart>.
| td::td_api::getGroupCallStreamSegment::getGroupCallStreamSegment | ( | ) |
Default constructor for a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
Returns object_ptr<FilePart>.
| td::td_api::getGroupCallStreamSegment::getGroupCallStreamSegment | ( | int32 | group_call_id_, |
| int53 | time_offset_, | ||
| int32 | scale_, | ||
| int32 | channel_id_, | ||
| object_ptr< GroupCallVideoQuality > && | video_quality_ | ||
| ) |
Creates a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
Returns object_ptr<FilePart>.
| [in] | group_call_id_ | Group call identifier. |
| [in] | time_offset_ | Point in time when the stream segment begins; Unix timestamp in milliseconds. |
| [in] | scale_ | Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds. |
| [in] | channel_id_ | Identifier of an audio/video channel to get as received from tgcalls. |
| [in] | video_quality_ | Video quality as received from tgcalls; pass null to get the worst available quality. |
|
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.