1 package com.netease.nimlib.sdk.v2.message.config;
3 import java.io.Serializable;
8 private final String accountId;
11 private final String topic;
14 private final String
function;
17 private final String customContent;
20 this.accountId = accountId;
22 this.
function =
function;
23 this.customContent = customContent;
44 return "V2NIMMessageRobotConfig{" +
45 "accountId='" + accountId +
'\'' +
46 ", topic='" + topic +
'\'' +
47 ", function='" +
function +
'\'' +
48 ", customContent='" + customContent +
'\'' +
52 public static final class V2NIMMessageRobotConfigBuilder {
53 private String accountId;
55 private String
function;
56 private String customContent;
58 private V2NIMMessageRobotConfigBuilder() {
61 public static V2NIMMessageRobotConfigBuilder builder() {
62 return new V2NIMMessageRobotConfigBuilder();
65 public V2NIMMessageRobotConfigBuilder withAccountId(String accountId) {
66 this.accountId = accountId;
70 public V2NIMMessageRobotConfigBuilder withTopic(String topic) {
75 public V2NIMMessageRobotConfigBuilder withFunction(String
function) {
76 this.
function =
function;
80 public V2NIMMessageRobotConfigBuilder withCustomContent(String customContent) {
81 this.customContent = customContent;
String getCustomContent()