Package com.mewna.catnip.entity.message
Interface Embed
- All Known Implementing Classes:
EmbedImpl
public interface Embed
All methods of this class (and inner classes) have nullable returns, unless otherwise stated.
- Since:
- 9/2/18.
- Author:
- natanbc
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static enum
static interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Embed author.color()
Embed color.Embed description.fields()
Embed fields.footer()
Embed footer.image()
Embed image.provider()
Embed provider.Embed thumbnail.Embed timestamp.title()
Embed title.type()
Embed type.url()
Embed URL.video()
Embed video.
-
Method Details
-
title
Embed title.- Returns:
- Title of the embed, or null if absent.
-
type
Embed type.- Returns:
- Type of the embed. Never null.
-
description
Embed description.- Returns:
- Description of the embed, or null if absent.
-
url
Embed URL.- Returns:
- URL of the embed, or null if absent.
-
timestamp
Embed timestamp.- Returns:
- Timestamp of the embed, or null if absent.
-
color
Embed color.- Returns:
- Color of the embed, or null if absent.
-
image
Embed image.- Returns:
- Image of the embed, or null if absent.
-
thumbnail
Embed thumbnail.- Returns:
- Thumbnail of the embed, or null if absent.
-
video
Embed video.- Returns:
- Video of the embed, or null if absent.
-
provider
Embed provider.- Returns:
- Provider of the embed, or null if absent.
-
author
Embed author.- Returns:
- Author of the embed, or null if absent.
-
fields
Embed fields.- Returns:
- Fields of the embed. Never null.
-