Uses of Record Class
io.agentscope.harness.agent.gateway.channel.ChannelBinding
Packages that use ChannelBinding
-
Uses of ChannelBinding in io.agentscope.harness.agent.gateway.channel
Methods in io.agentscope.harness.agent.gateway.channel that return ChannelBindingModifier and TypeMethodDescriptionstatic ChannelBindingChannelBinding.forAccount(String account, String agentId) Matches a specific account id.static ChannelBindingChannelBinding.forChannel(String channel, String agentId) Matches a specific channel id.static ChannelBindingMatches any message from a specific guild (server/workspace).static ChannelBindingChannelBinding.forGuildRoles(String guild, Set<String> roles, String agentId) Matches messages from a guild where the sender holds at least one of the given roles.static ChannelBindingChannelBinding.forParentPeer(String parentPeer, String agentId) Matches messages that are threads under a specific parent peer.static ChannelBindingMatches an exact peer (e.g. a specific DM user or channel id).static ChannelBindingMatches a specific team id.ChannelBinding.withSessionScope(DmScope scope) Returns a copy of this binding with a per-binding session scope override.Methods in io.agentscope.harness.agent.gateway.channel that return types with arguments of type ChannelBindingModifier and TypeMethodDescriptionChannelConfig.bindings()Returns the value of thebindingsrecord component.Methods in io.agentscope.harness.agent.gateway.channel with parameters of type ChannelBindingMethod parameters in io.agentscope.harness.agent.gateway.channel with type arguments of type ChannelBindingConstructor parameters in io.agentscope.harness.agent.gateway.channel with type arguments of type ChannelBindingModifierConstructorDescriptionChannelConfig(String channelId, String defaultAgentId, DmScope dmScope, List<ChannelBinding> bindings) Creates an instance of aChannelConfigrecord class.