接收别人的送花 (代理方法)

调用示例:
- (void)onFlowerSend:(TFChatData*_Nullable)result
{

}

----------------------下面的代码为过期的方法,不建议使用----------------------

鲜花

  • 送花 flower:send (TALKFUN_EVENT_FLOWER_SEND)
参数 类型 描述
amount NSNumber 花朵总数
nickname NSString 用户名
role NSString 用户角色
sendtime NSNumber 送花时间
time NSString 现在的时间
uid NSString 合作方用户ID
xid NSNumber 用户ID
avatar NSString 用户头像地址
调用示例:
[self.liveManager on:TALKFUN_EVENT_FLOWER_SEND callback:^(id result) {

        [[NSNotificationCenter defaultCenter] postNotificationName:TALKFUN_NOTIFICATION_FLOWER_SEND object:nil userInfo:result];

}];
Copyright Talkfun all right reserved,powered by Gitbook修订时间: 2021-08-26 17:26:23

results matching ""

    No results matching ""