Package io.manebot.chat
Interface ChatProvider
- 
 public interface ChatProviderProvides chat connections.
- 
- 
Method SummaryModifier and Type Method Description default ChatgetChatById(java.lang.String id)Gets a conversation by a specific Id for this platform.java.util.List<Chat>getChats()Gets the conversations this platform provides.default ChatgetPrivateChat(User user)Gets a private message conversation for a specific user.
 
- 
- 
- 
Method Detail- 
getChatsjava.util.List<Chat> getChats() Gets the conversations this platform provides.- Returns:
- immutable list of presently provided Conversations.
 
 - 
getChatByIddefault Chat getChatById(java.lang.String id) Gets a conversation by a specific Id for this platform.- Parameters:
- id- Chat Id,
- Returns:
- Chat instance if one exists, null otherwise.
 
 
- 
 
-