蓝莺开发者
Web & Mini ProgramiOSAndroidC++Server API

im::floo::floolib::BMXGroup#

群组

Inherits from BMXBaseObject

Public Classes#

Name
classAnnouncement
群公告
classApplication
群申请

Public Functions#

Name
BMXGroup()
synchronized voiddelete()
longgroupId()
群Id
BMXGroup.GroupTypegroupType()
当前群组的群组类型(Private 私有群组,Public 公开群组,Chatroom 聊天室)
StringmyNickname()
在群里的昵称
Stringname()
群名称
Stringdescription()
群描述
StringavatarRatelUrl()
群头像ratel地址
StringavatarUrl()
群头像
StringavatarPath()
群头像下载后的本地路径
StringavatarThumbnailUrl()
群头像缩略图地址
StringavatarThumbnailPath()
群头像缩略图下载后的本地路径
longcreateTime()
群创建时间
Stringextension()
群扩展信息
longownerId()
群Owner
intcapacity()
最大人数
intmembersCount()
群成员数量,包含Owner,admins 和members
intadminsCount()
群管理员数量
intblockListSize()
黑名单数量
intbannedListSize()
禁言数量
intsharedFilesCount()
群共享文件数量
longlatestAnnouncementId()
最新群公告id
BMXGroup.MsgPushModemsgPushMode()
群消息通知类型
BMXGroup.ModifyModemodifyMode()
群信息修改模式
BMXGroup.JoinAuthModejoinAuthMode()
入群审批模式
BMXGroup.InviteModeinviteMode()
入群邀请模式
BMXGroup.MsgMuteModemsgMuteMode()
群消息屏蔽模式
BMXGroup.GroupStatusgroupStatus()
当前群组的状态。(Normal 正常, Destroyed 以销毁)
booleanisMember()
Deprecated use roleType instead.
booleanenableReadAck()
是否开启群消息已读功能
booleanhistoryVisible()
是否可以加载显示历史聊天记录
BMXGroup.MemberRoleTyperoleType()
成员在群组内的角色类型
longbanExpireTime()
群组全员禁言到期时间

Protected Functions#

Name
BMXGroup(long cPtr, boolean cMemoryOwn)
voidfinalize()
longgetCPtr(BMXGroup obj)

Public Attributes#

Name
transient longswigCPtr

Public Functions Documentation#

function BMXGroup#

inline BMXGroup()

function delete#

inline synchronized void delete()

function groupId#

inline long groupId()

群Id

Return: int64_t

function groupType#

inline BMXGroup.GroupType groupType()

当前群组的群组类型(Private 私有群组,Public 公开群组,Chatroom 聊天室)

Return: [GroupType]

function myNickname#

inline String myNickname()

在群里的昵称

Return: std::string

function name#

inline String name()

群名称

Return: std::string

function description#

inline String description()

群描述

Return: std::string

function avatarRatelUrl#

inline String avatarRatelUrl()

群头像ratel地址

Return: std::string

function avatarUrl#

inline String avatarUrl()

群头像

Return: std::string

function avatarPath#

inline String avatarPath()

群头像下载后的本地路径

Return: std::string

function avatarThumbnailUrl#

inline String avatarThumbnailUrl()

群头像缩略图地址

Return: std::string

function avatarThumbnailPath#

inline String avatarThumbnailPath()

群头像缩略图下载后的本地路径

Return: std::string

function createTime#

inline long createTime()

群创建时间

Return: int64_t

function extension#

inline String extension()

群扩展信息

Return: JSON(std::string)

function ownerId#

inline long ownerId()

群Owner

Return: int64_t

function capacity#

inline int capacity()

最大人数

Return: int

function membersCount#

inline int membersCount()

群成员数量,包含Owner,admins 和members

Return: int

function adminsCount#

inline int adminsCount()

群管理员数量

Return: int

function blockListSize#

inline int blockListSize()

黑名单数量

Return: int

function bannedListSize#

inline int bannedListSize()

禁言数量

Return: int

function sharedFilesCount#

inline int sharedFilesCount()

群共享文件数量

Return: int

function latestAnnouncementId#

inline long latestAnnouncementId()

最新群公告id

Return: int64_t

function msgPushMode#

inline BMXGroup.MsgPushMode msgPushMode()

群消息通知类型

Return: [MsgPushMode]

function modifyMode#

inline BMXGroup.ModifyMode modifyMode()

群信息修改模式

Return: [ModifyMode]

function joinAuthMode#

inline BMXGroup.JoinAuthMode joinAuthMode()

入群审批模式

Return: [JoinAuthMode]

function inviteMode#

inline BMXGroup.InviteMode inviteMode()

入群邀请模式

Return: [InviteMode]

function msgMuteMode#

inline BMXGroup.MsgMuteMode msgMuteMode()

群消息屏蔽模式

Return: [MsgMuteMode]

function groupStatus#

inline BMXGroup.GroupStatus groupStatus()

当前群组的状态。(Normal 正常, Destroyed 以销毁)

Return: [GroupStatus]

function isMember#

inline boolean isMember()

Deprecated use roleType instead.

Return: bool

当前用户是否是群成员

function enableReadAck#

inline boolean enableReadAck()

是否开启群消息已读功能

Return: bool

function historyVisible#

inline boolean historyVisible()

是否可以加载显示历史聊天记录

Return: bool

function roleType#

inline BMXGroup.MemberRoleType roleType()

成员在群组内的角色类型

Return: [MemberRoleType]

function banExpireTime#

inline long banExpireTime()

群组全员禁言到期时间

Protected Functions Documentation#

function BMXGroup#

inline BMXGroup(
    long cPtr,
    boolean cMemoryOwn
)

function finalize#

inline void finalize()

function getCPtr#

static inline long getCPtr(
    BMXGroup obj
)

Public Attributes Documentation#

variable swigCPtr#

transient long swigCPtr;

Updated on 2022-01-26 at 17:18:31 +0800

自动生成的 API 内容,仅在必要位置补充精简的 AI 解释。