create

fun create(flag: String, subType: String, approve: Boolean? = null, reason: String? = null): SetGroupAddRequestApi(source)

构建一个 SetGroupAddRequestApi.

Parameters

flag

加群请求的 flag(需从上报的数据中获得)

subType

addinvite,请求类型(需要和上报消息中的 sub_type 字段相符)

approve

是否同意请求/邀请

reason

拒绝理由(仅在拒绝时有效)