Mercury-IM/entity/src/main/java/org/mercury_im/messenger/entity/chat/Chat.java

24 lines
490 B
Java
Raw Normal View History

2019-11-18 23:51:27 +01:00
package org.mercury_im.messenger.entity.chat;
2019-11-08 00:47:17 +01:00
2019-11-18 23:51:27 +01:00
import org.mercury_im.messenger.entity.Account;
2019-12-06 20:48:27 +01:00
/**
* Generic interface defining shared properties of chats.
*
* Child interfaces of {@link Chat} are {@link DirectChat} and {@link GroupChat}.
*/
public interface Chat {
long getId();
void setId(long id);
Account getAccount();
void setAccount(Account account);
2019-11-07 00:59:56 +01:00
ChatPreferences getChatPreferences();
void setChatPreferences(ChatPreferences chatPreferences);
}