Skip to content

Commit

Permalink
[rtm 2.2.1] Add more custom APIs (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl authored Sep 4, 2024
1 parent d5ead7b commit 50bc044
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions headers/rtm_2.2.1/custom_headers/CustomIAgoraStreamChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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👆🏻 -----------------------------
};
Expand Down

0 comments on commit 50bc044

Please sign in to comment.