Record Class PostMessageV4BatchSendRequestBody
java.lang.Object
java.lang.Record
cn.duskykite.open.call.requestbody.PostMessageV4BatchSendRequestBody
public record PostMessageV4BatchSendRequestBody(@NonNull String msgType, Content content, Card card, List<String> departmentIds, List<String> openIds, List<String> userIds, List<String> unionIds)
extends Record
批量发送消息请求体
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明card()返回card记录组件的值。content()返回content记录组件的值。返回departmentIds记录组件的值。final boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。@NonNull StringmsgType()返回msgType记录组件的值。openIds()返回openIds记录组件的值。final StringtoString()返回此记录的字符串表示形式。unionIds()返回unionIds记录组件的值。userIds()返回userIds记录组件的值。
-
构造器详细资料
-
PostMessageV4BatchSendRequestBody
public PostMessageV4BatchSendRequestBody(@NonNull @NonNull String msgType, Content content, Card card, List<String> departmentIds, List<String> openIds, List<String> userIds, List<String> unionIds) constructor- 参数:
msgType- 消息类型content- 消息内容card- 消息卡片departmentIds- 部门Id列表openIds- 用户OpenId列表userIds- 用户Id列表unionIds- 用户全局Id列表
-
-
方法详细资料
-
toString
返回此记录的字符串表示形式。此表示形式包含类型的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
msgType
返回msgType记录组件的值。- 返回:
msgType记录组件的值
-
content
返回content记录组件的值。- 返回:
content记录组件的值
-
card
返回card记录组件的值。- 返回:
card记录组件的值
-
departmentIds
返回departmentIds记录组件的值。- 返回:
departmentIds记录组件的值
-
openIds
返回openIds记录组件的值。- 返回:
openIds记录组件的值
-
userIds
返回userIds记录组件的值。- 返回:
userIds记录组件的值
-
unionIds
返回unionIds记录组件的值。- 返回:
unionIds记录组件的值
-