it.auties.whatsapp.model.contact.ContactJidProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.model.contact;
import it.auties.whatsapp.model.chat.Chat;
import lombok.NonNull;
/**
* Utility interface to make providing a jid easier
*/
public sealed interface ContactJidProvider permits Chat, Contact, ContactJid {
/**
* Returns this object as a jid
*
* @return a non-null jid
*/
@NonNull ContactJid toJid();
}