diff --git a/headers/rtm_2.2.1/custom_headers/CustomIAgoraStreamChannel.h b/headers/rtm_2.2.1/custom_headers/CustomIAgoraStreamChannel.h index 340a74e..3f79ded 100644 --- a/headers/rtm_2.2.1/custom_headers/CustomIAgoraStreamChannel.h +++ b/headers/rtm_2.2.1/custom_headers/CustomIAgoraStreamChannel.h @@ -11,9 +11,15 @@ class IStreamChannel { // ----------------------------- ๐Ÿ‘‡๐Ÿปnew API๐Ÿ‘‡๐Ÿป ----------------------------- /** * @iris_api_id: StreamChannel_publishTopicMessage_a31773e - * @source: virtual void publish(const char* channelName, const char* message, const size_t length, const PublishOptions& option, uint64_t& requestId) = 0; + * @source: virtual void publishTopicMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0; */ - virtual void publishTopicBinaryMessage(const char* topic, const unsigned char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0; + virtual void publishTextMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0; + + /** + * @iris_api_id: StreamChannel_publishTopicMessage_a31773e + * @source: virtual void publishTopicMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0; + */ + virtual void publishBinaryMessage(const char* topic, const unsigned char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0; // ----------------------------- ๐Ÿ‘†๐Ÿปnew API๐Ÿ‘†๐Ÿป ----------------------------- };