81 lines
1.3 KiB
Objective-C
81 lines
1.3 KiB
Objective-C
//
|
|
// UMComFeedEditDataController.h
|
|
// UMCommunity
|
|
//
|
|
// Created by umeng on 16/5/3.
|
|
// Copyright © 2016年 Umeng. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UMCommunitySDK/UMComDataRequestManager.h>
|
|
|
|
@class CLLocation, UMComFeed;
|
|
@interface UMComFeedEditDataController : NSObject
|
|
|
|
|
|
/**
|
|
消息文字内容
|
|
|
|
*/
|
|
@property (nonatomic, copy) NSString *text;
|
|
|
|
/**
|
|
消息标题
|
|
|
|
*/
|
|
@property (nonatomic, copy) NSString *title;
|
|
|
|
/**
|
|
消息创建者的用户id
|
|
|
|
*/
|
|
@property (nonatomic, copy) NSString *uid;
|
|
|
|
/**
|
|
消息的图片附件,images中的对象只可以是UIImage类对象或者直接是图片的urlString
|
|
|
|
*/
|
|
@property (nonatomic, strong) NSArray *images;
|
|
|
|
/**
|
|
消息的相关话题
|
|
|
|
*/
|
|
@property (nonatomic, strong) NSArray *topics;
|
|
|
|
/**
|
|
@相关好友
|
|
|
|
*/
|
|
@property (nonatomic, strong) NSArray *atUsers;
|
|
|
|
/**
|
|
地理位置描述
|
|
|
|
*/
|
|
@property (nonatomic, copy) NSString *locationDescription;
|
|
|
|
/**
|
|
地理位置坐标对象
|
|
|
|
*/
|
|
@property (nonatomic, strong) CLLocation *location;
|
|
|
|
/**
|
|
消息类型
|
|
*/
|
|
@property (nonatomic, strong) NSNumber *type;
|
|
|
|
/**
|
|
自定义字段
|
|
*/
|
|
@property (nonatomic, copy) NSString * customContent;
|
|
|
|
|
|
- (void)createFeedWithCompletion:(UMComDataRequestCompletion)completion;
|
|
|
|
- (void)forwardFeedWithFeed:(UMComFeed *)feed
|
|
completion:(UMComDataRequestCompletion)completion;
|
|
|
|
@end
|