#ifndef TGCALLS_GROUP_JOIN_PAYLOAD_INTERNAL_H #define TGCALLS_GROUP_JOIN_PAYLOAD_INTERNAL_H #include "GroupJoinPayload.h" #include #include #include #include "absl/types/optional.h" namespace tgcalls { struct GroupJoinResponsePayload { GroupJoinTransportDescription transport; absl::optional videoInformation; static absl::optional parse(std::string const &data); }; struct GroupJoinInternalPayload { GroupJoinTransportDescription transport; uint32_t audioSsrc = 0; absl::optional videoInformation; std::string serialize(); }; } #endif