Class DingTalkOutboundClient

java.lang.Object
io.agentscope.extensions.channel.dingtalk.DingTalkOutboundClient

public final class DingTalkOutboundClient extends Object
DingTalk outbound HTTP client. Wraps:
  • POST /v1.0/robot/oToMessages/batchSend for DMs (one-to-one with the bot)
  • POST /v1.0/robot/groupMessages/send for group chats
Both endpoints accept text or markdown via msgKey = sampleText / sampleMarkdown.
  • Constructor Details

  • Method Details

    • send

      public reactor.core.publisher.Mono<Void> send(io.agentscope.harness.agent.gateway.channel.OutboundAddress address, List<io.agentscope.core.message.Msg> messages)
      Sends each msg to the resolved peer (address format "channelId:kind:peerId").