org.finos.springbot.example.rooms.Broadcast Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rooms-bot Show documentation
Show all versions of rooms-bot Show documentation
Allows you to send a message to any room the bot is in
package org.finos.springbot.example.rooms;
import org.finos.springbot.workflow.annotations.RequiresChatList;
import org.finos.springbot.workflow.annotations.Work;
import org.finos.springbot.workflow.content.Chat;
@Work
@RequiresChatList
public class Broadcast {
String send;
Chat to;
public String getSend() {
return send;
}
public void setSend(String send) {
this.send = send;
}
public Chat getTo() {
return to;
}
public void setTo(Chat to) {
this.to = to;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy