JMSGGroupAnnouncement Class Reference

Inherits from NSObject
Declared in JMSGGroup.h

Overview

群公告类

  announcementId

公告 id

@property (nonatomic, assign, readonly) UInt32 announcementId

Declared In

JMSGGroup.h

  gid

群组 id

@property (nonatomic, strong, readonly) NSString *gid

Declared In

JMSGGroup.h

  text

公告内容

@property (nonatomic, strong, readonly) NSString *text

Declared In

JMSGGroup.h

  publisher

发布者

@property (nonatomic, strong, readonly) JMSGUser *publisher

Declared In

JMSGGroup.h

  publishTime

发布时间

@property (nonatomic, assign, readonly) UInt64 publishTime

Declared In

JMSGGroup.h

  isTop

是否置顶

@property (nonatomic, assign, readonly) BOOL isTop

Declared In

JMSGGroup.h

  topTime

置顶时间

@property (nonatomic, assign, readonly) UInt64 topTime

Declared In

JMSGGroup.h

– toJsonString

公告对象转换为 JSON 字符串的表示。

- (NSString *JMSG_NULLABLE)toJsonString

Declared In

JMSGGroup.h

+ fromJson:

JSON 字符串 转换为 公告对象。

+ (JMSGGroupAnnouncement *JMSG_NULLABLE)fromJson:(NSString *JMSG_NONNULL)json

Discussion

失败时返回 nil

Declared In

JMSGGroup.h