tangtaoit 7b0c1bc743 init
2023-05-25 10:32:00 +08:00

38 lines
869 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// WKSendPacket.h
// WuKongIMSDK
//
// Created by tt on 2019/11/27.
//
#import <Foundation/Foundation.h>
#import "WKPacket.h"
#import "WKPacketBodyCoder.h"
#import "WKSetting.h"
NS_ASSUME_NONNULL_BEGIN
@interface WKSendPacket : WKPacket<WKPacketBodyCoder>
@property(nonatomic,strong) WKSetting *setting;
// 客户端提供的序列号,在客户端内唯一
@property(nonatomic,assign) uint32_t clientSeq;
/// 客户端消息唯一编号
@property(nonatomic,copy) NSString *clientMsgNo;
//频道ID如果是个人频道ChannelId为个人的UID
@property(nonatomic,copy) NSString *channelId;
//频道类型1.个人 2.群组)
@property(nonatomic,assign) uint8_t channelType;
// 话题
@property(nonatomic,copy) NSString *topic;
// 负荷数据
@property(nonatomic,strong) NSData *payload;
-(NSString*) veritifyString;
@end
NS_ASSUME_NONNULL_END