discord.Message
Explore with Pulumi AI
A resource to create a message
Example Usage
Content Example
import * as pulumi from "@pulumi/pulumi";
import * as discord from "@pulumi/discord";
const helloWorld = new discord.Message("helloWorld", {
channelId: _var.channel_id,
content: "hello world",
});
import pulumi
import pulumi_discord as discord
hello_world = discord.Message("helloWorld",
channel_id=var["channel_id"],
content="hello world")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/discord/v2/discord"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := discord.NewMessage(ctx, "helloWorld", &discord.MessageArgs{
ChannelId: pulumi.Any(_var.Channel_id),
Content: pulumi.String("hello world"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Discord = Pulumi.Discord;
return await Deployment.RunAsync(() =>
{
var helloWorld = new Discord.Message("helloWorld", new()
{
ChannelId = @var.Channel_id,
Content = "hello world",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.discord.Message;
import com.pulumi.discord.MessageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var helloWorld = new Message("helloWorld", MessageArgs.builder()
.channelId(var_.channel_id())
.content("hello world")
.build());
}
}
resources:
helloWorld:
type: discord:Message
properties:
channelId: ${var.channel_id}
content: hello world
Embed Example
import * as pulumi from "@pulumi/pulumi";
import * as discord from "@pulumi/discord";
const helloWorld = new discord.Message("helloWorld", {
channelId: _var.channel_id,
embed: {
title: "Hello World",
footer: {
text: "I'm awesome",
},
fields: [
{
name: "foo",
value: "bar",
inline: true,
},
{
name: "bar",
value: "baz",
inline: false,
},
],
},
});
import pulumi
import pulumi_discord as discord
hello_world = discord.Message("helloWorld",
channel_id=var["channel_id"],
embed={
"title": "Hello World",
"footer": {
"text": "I'm awesome",
},
"fields": [
{
"name": "foo",
"value": "bar",
"inline": True,
},
{
"name": "bar",
"value": "baz",
"inline": False,
},
],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/discord/v2/discord"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := discord.NewMessage(ctx, "helloWorld", &discord.MessageArgs{
ChannelId: pulumi.Any(_var.Channel_id),
Embed: &discord.MessageEmbedArgs{
Title: pulumi.String("Hello World"),
Footer: &discord.MessageEmbedFooterArgs{
Text: pulumi.String("I'm awesome"),
},
Fields: discord.MessageEmbedFieldArray{
&discord.MessageEmbedFieldArgs{
Name: pulumi.String("foo"),
Value: pulumi.String("bar"),
Inline: pulumi.Bool(true),
},
&discord.MessageEmbedFieldArgs{
Name: pulumi.String("bar"),
Value: pulumi.String("baz"),
Inline: pulumi.Bool(false),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Discord = Pulumi.Discord;
return await Deployment.RunAsync(() =>
{
var helloWorld = new Discord.Message("helloWorld", new()
{
ChannelId = @var.Channel_id,
Embed = new Discord.Inputs.MessageEmbedArgs
{
Title = "Hello World",
Footer = new Discord.Inputs.MessageEmbedFooterArgs
{
Text = "I'm awesome",
},
Fields = new[]
{
new Discord.Inputs.MessageEmbedFieldArgs
{
Name = "foo",
Value = "bar",
Inline = true,
},
new Discord.Inputs.MessageEmbedFieldArgs
{
Name = "bar",
Value = "baz",
Inline = false,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.discord.Message;
import com.pulumi.discord.MessageArgs;
import com.pulumi.discord.inputs.MessageEmbedArgs;
import com.pulumi.discord.inputs.MessageEmbedFooterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var helloWorld = new Message("helloWorld", MessageArgs.builder()
.channelId(var_.channel_id())
.embed(MessageEmbedArgs.builder()
.title("Hello World")
.footer(MessageEmbedFooterArgs.builder()
.text("I'm awesome")
.build())
.fields(
MessageEmbedFieldArgs.builder()
.name("foo")
.value("bar")
.inline(true)
.build(),
MessageEmbedFieldArgs.builder()
.name("bar")
.value("baz")
.inline(false)
.build())
.build())
.build());
}
}
resources:
helloWorld:
type: discord:Message
properties:
channelId: ${var.channel_id}
embed:
title: Hello World
footer:
text: I'm awesome
fields:
- name: foo
value: bar
inline: true
- name: bar
value: baz
inline: false
Create Message Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Message(name: string, args: MessageArgs, opts?: CustomResourceOptions);
@overload
def Message(resource_name: str,
args: MessageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Message(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel_id: Optional[str] = None,
content: Optional[str] = None,
edited_timestamp: Optional[str] = None,
embed: Optional[MessageEmbedArgs] = None,
pinned: Optional[bool] = None,
tts: Optional[bool] = None)
func NewMessage(ctx *Context, name string, args MessageArgs, opts ...ResourceOption) (*Message, error)
public Message(string name, MessageArgs args, CustomResourceOptions? opts = null)
public Message(String name, MessageArgs args)
public Message(String name, MessageArgs args, CustomResourceOptions options)
type: discord:Message
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MessageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MessageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MessageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MessageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MessageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var messageResource = new Discord.Message("messageResource", new()
{
ChannelId = "string",
Content = "string",
EditedTimestamp = "string",
Embed = new Discord.Inputs.MessageEmbedArgs
{
Author = new Discord.Inputs.MessageEmbedAuthorArgs
{
IconUrl = "string",
Name = "string",
ProxyIconUrl = "string",
Url = "string",
},
Color = 0,
Description = "string",
Fields = new[]
{
new Discord.Inputs.MessageEmbedFieldArgs
{
Name = "string",
Inline = false,
Value = "string",
},
},
Footer = new Discord.Inputs.MessageEmbedFooterArgs
{
Text = "string",
IconUrl = "string",
},
Image = new Discord.Inputs.MessageEmbedImageArgs
{
Url = "string",
Height = 0,
ProxyUrl = "string",
Width = 0,
},
Provider = new Discord.Inputs.MessageEmbedProviderArgs
{
Name = "string",
Url = "string",
},
Thumbnail = new Discord.Inputs.MessageEmbedThumbnailArgs
{
Url = "string",
Height = 0,
ProxyUrl = "string",
Width = 0,
},
Timestamp = "string",
Title = "string",
Url = "string",
Video = new Discord.Inputs.MessageEmbedVideoArgs
{
Url = "string",
Height = 0,
Width = 0,
},
},
Pinned = false,
Tts = false,
});
example, err := discord.NewMessage(ctx, "messageResource", &discord.MessageArgs{
ChannelId: pulumi.String("string"),
Content: pulumi.String("string"),
EditedTimestamp: pulumi.String("string"),
Embed: &.MessageEmbedArgs{
Author: &.MessageEmbedAuthorArgs{
IconUrl: pulumi.String("string"),
Name: pulumi.String("string"),
ProxyIconUrl: pulumi.String("string"),
Url: pulumi.String("string"),
},
Color: pulumi.Float64(0),
Description: pulumi.String("string"),
Fields: .MessageEmbedFieldArray{
&.MessageEmbedFieldArgs{
Name: pulumi.String("string"),
Inline: pulumi.Bool(false),
Value: pulumi.String("string"),
},
},
Footer: &.MessageEmbedFooterArgs{
Text: pulumi.String("string"),
IconUrl: pulumi.String("string"),
},
Image: &.MessageEmbedImageArgs{
Url: pulumi.String("string"),
Height: pulumi.Float64(0),
ProxyUrl: pulumi.String("string"),
Width: pulumi.Float64(0),
},
Provider: &.MessageEmbedProviderArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
},
Thumbnail: &.MessageEmbedThumbnailArgs{
Url: pulumi.String("string"),
Height: pulumi.Float64(0),
ProxyUrl: pulumi.String("string"),
Width: pulumi.Float64(0),
},
Timestamp: pulumi.String("string"),
Title: pulumi.String("string"),
Url: pulumi.String("string"),
Video: &.MessageEmbedVideoArgs{
Url: pulumi.String("string"),
Height: pulumi.Float64(0),
Width: pulumi.Float64(0),
},
},
Pinned: pulumi.Bool(false),
Tts: pulumi.Bool(false),
})
var messageResource = new Message("messageResource", MessageArgs.builder()
.channelId("string")
.content("string")
.editedTimestamp("string")
.embed(MessageEmbedArgs.builder()
.author(MessageEmbedAuthorArgs.builder()
.iconUrl("string")
.name("string")
.proxyIconUrl("string")
.url("string")
.build())
.color(0)
.description("string")
.fields(MessageEmbedFieldArgs.builder()
.name("string")
.inline(false)
.value("string")
.build())
.footer(MessageEmbedFooterArgs.builder()
.text("string")
.iconUrl("string")
.build())
.image(MessageEmbedImageArgs.builder()
.url("string")
.height(0)
.proxyUrl("string")
.width(0)
.build())
.provider(MessageEmbedProviderArgs.builder()
.name("string")
.url("string")
.build())
.thumbnail(MessageEmbedThumbnailArgs.builder()
.url("string")
.height(0)
.proxyUrl("string")
.width(0)
.build())
.timestamp("string")
.title("string")
.url("string")
.video(MessageEmbedVideoArgs.builder()
.url("string")
.height(0)
.width(0)
.build())
.build())
.pinned(false)
.tts(false)
.build());
message_resource = discord.Message("messageResource",
channel_id="string",
content="string",
edited_timestamp="string",
embed={
"author": {
"icon_url": "string",
"name": "string",
"proxy_icon_url": "string",
"url": "string",
},
"color": 0,
"description": "string",
"fields": [{
"name": "string",
"inline": False,
"value": "string",
}],
"footer": {
"text": "string",
"icon_url": "string",
},
"image": {
"url": "string",
"height": 0,
"proxy_url": "string",
"width": 0,
},
"provider": {
"name": "string",
"url": "string",
},
"thumbnail": {
"url": "string",
"height": 0,
"proxy_url": "string",
"width": 0,
},
"timestamp": "string",
"title": "string",
"url": "string",
"video": {
"url": "string",
"height": 0,
"width": 0,
},
},
pinned=False,
tts=False)
const messageResource = new discord.Message("messageResource", {
channelId: "string",
content: "string",
editedTimestamp: "string",
embed: {
author: {
iconUrl: "string",
name: "string",
proxyIconUrl: "string",
url: "string",
},
color: 0,
description: "string",
fields: [{
name: "string",
inline: false,
value: "string",
}],
footer: {
text: "string",
iconUrl: "string",
},
image: {
url: "string",
height: 0,
proxyUrl: "string",
width: 0,
},
provider: {
name: "string",
url: "string",
},
thumbnail: {
url: "string",
height: 0,
proxyUrl: "string",
width: 0,
},
timestamp: "string",
title: "string",
url: "string",
video: {
url: "string",
height: 0,
width: 0,
},
},
pinned: false,
tts: false,
});
type: discord:Message
properties:
channelId: string
content: string
editedTimestamp: string
embed:
author:
iconUrl: string
name: string
proxyIconUrl: string
url: string
color: 0
description: string
fields:
- inline: false
name: string
value: string
footer:
iconUrl: string
text: string
image:
height: 0
proxyUrl: string
url: string
width: 0
provider:
name: string
url: string
thumbnail:
height: 0
proxyUrl: string
url: string
width: 0
timestamp: string
title: string
url: string
video:
height: 0
url: string
width: 0
pinned: false
tts: false
Message Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Message resource accepts the following input properties:
- Channel
Id string - ID of the channel the message will be in.
- Content string
- Text content of message. At least one of
content
orembed
must be set. - Edited
Timestamp string - When the message was edited.
- Embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - Pinned bool
- Whether this message is pinned. (default
false
) - Tts bool
- Whether this message triggers TTS. (default
false
)
- Channel
Id string - ID of the channel the message will be in.
- Content string
- Text content of message. At least one of
content
orembed
must be set. - Edited
Timestamp string - When the message was edited.
- Embed
Message
Embed Args - An embed block. At least one of
content
orembed
must be set. - Pinned bool
- Whether this message is pinned. (default
false
) - Tts bool
- Whether this message triggers TTS. (default
false
)
- channel
Id String - ID of the channel the message will be in.
- content String
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp String - When the message was edited.
- embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - pinned Boolean
- Whether this message is pinned. (default
false
) - tts Boolean
- Whether this message triggers TTS. (default
false
)
- channel
Id string - ID of the channel the message will be in.
- content string
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp string - When the message was edited.
- embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - pinned boolean
- Whether this message is pinned. (default
false
) - tts boolean
- Whether this message triggers TTS. (default
false
)
- channel_
id str - ID of the channel the message will be in.
- content str
- Text content of message. At least one of
content
orembed
must be set. - edited_
timestamp str - When the message was edited.
- embed
Message
Embed Args - An embed block. At least one of
content
orembed
must be set. - pinned bool
- Whether this message is pinned. (default
false
) - tts bool
- Whether this message triggers TTS. (default
false
)
- channel
Id String - ID of the channel the message will be in.
- content String
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp String - When the message was edited.
- embed Property Map
- An embed block. At least one of
content
orembed
must be set. - pinned Boolean
- Whether this message is pinned. (default
false
) - tts Boolean
- Whether this message triggers TTS. (default
false
)
Outputs
All input properties are implicitly available as output properties. Additionally, the Message resource produces the following output properties:
Look up Existing Message Resource
Get an existing Message resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MessageState, opts?: CustomResourceOptions): Message
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
author: Optional[str] = None,
channel_id: Optional[str] = None,
content: Optional[str] = None,
edited_timestamp: Optional[str] = None,
embed: Optional[MessageEmbedArgs] = None,
pinned: Optional[bool] = None,
server_id: Optional[str] = None,
timestamp: Optional[str] = None,
tts: Optional[bool] = None,
type: Optional[float] = None) -> Message
func GetMessage(ctx *Context, name string, id IDInput, state *MessageState, opts ...ResourceOption) (*Message, error)
public static Message Get(string name, Input<string> id, MessageState? state, CustomResourceOptions? opts = null)
public static Message get(String name, Output<String> id, MessageState state, CustomResourceOptions options)
resources: _: type: discord:Message get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- string
- ID of the user who wrote the message.
- Channel
Id string - ID of the channel the message will be in.
- Content string
- Text content of message. At least one of
content
orembed
must be set. - Edited
Timestamp string - When the message was edited.
- Embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - Pinned bool
- Whether this message is pinned. (default
false
) - Server
Id string - ID of the server this message is in.
- Timestamp string
- When the message was sent.
- Tts bool
- Whether this message triggers TTS. (default
false
) - Type double
- The type of the message.
- string
- ID of the user who wrote the message.
- Channel
Id string - ID of the channel the message will be in.
- Content string
- Text content of message. At least one of
content
orembed
must be set. - Edited
Timestamp string - When the message was edited.
- Embed
Message
Embed Args - An embed block. At least one of
content
orembed
must be set. - Pinned bool
- Whether this message is pinned. (default
false
) - Server
Id string - ID of the server this message is in.
- Timestamp string
- When the message was sent.
- Tts bool
- Whether this message triggers TTS. (default
false
) - Type float64
- The type of the message.
- String
- ID of the user who wrote the message.
- channel
Id String - ID of the channel the message will be in.
- content String
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp String - When the message was edited.
- embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - pinned Boolean
- Whether this message is pinned. (default
false
) - server
Id String - ID of the server this message is in.
- timestamp String
- When the message was sent.
- tts Boolean
- Whether this message triggers TTS. (default
false
) - type Double
- The type of the message.
- string
- ID of the user who wrote the message.
- channel
Id string - ID of the channel the message will be in.
- content string
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp string - When the message was edited.
- embed
Message
Embed - An embed block. At least one of
content
orembed
must be set. - pinned boolean
- Whether this message is pinned. (default
false
) - server
Id string - ID of the server this message is in.
- timestamp string
- When the message was sent.
- tts boolean
- Whether this message triggers TTS. (default
false
) - type number
- The type of the message.
- str
- ID of the user who wrote the message.
- channel_
id str - ID of the channel the message will be in.
- content str
- Text content of message. At least one of
content
orembed
must be set. - edited_
timestamp str - When the message was edited.
- embed
Message
Embed Args - An embed block. At least one of
content
orembed
must be set. - pinned bool
- Whether this message is pinned. (default
false
) - server_
id str - ID of the server this message is in.
- timestamp str
- When the message was sent.
- tts bool
- Whether this message triggers TTS. (default
false
) - type float
- The type of the message.
- String
- ID of the user who wrote the message.
- channel
Id String - ID of the channel the message will be in.
- content String
- Text content of message. At least one of
content
orembed
must be set. - edited
Timestamp String - When the message was edited.
- embed Property Map
- An embed block. At least one of
content
orembed
must be set. - pinned Boolean
- Whether this message is pinned. (default
false
) - server
Id String - ID of the server this message is in.
- timestamp String
- When the message was sent.
- tts Boolean
- Whether this message triggers TTS. (default
false
) - type Number
- The type of the message.
Supporting Types
MessageEmbed, MessageEmbedArgs
- Message
Embed Author - Author of the embed.
- Color double
- Color of the embed. Must be an integer color code.
- Description string
- Description of the embed.
- Fields
List<Message
Embed Field> - Fields of the embed.
- Message
Embed Footer - Footer of the embed.
- Image
Message
Embed Image - Image to be included in the embed.
- Provider
Message
Embed Provider - Provider of the embed.
- Thumbnail
Message
Embed Thumbnail - Thumbnail to be included in the embed.
- Timestamp string
- Timestamp of the embed content.
- Title string
- Title of the embed.
- Url string
- URL of the embed.
- Video
Message
Embed Video - Video to be included in the embed.
- Message
Embed Author - Author of the embed.
- Color float64
- Color of the embed. Must be an integer color code.
- Description string
- Description of the embed.
- Fields
[]Message
Embed Field - Fields of the embed.
- Message
Embed Footer - Footer of the embed.
- Image
Message
Embed Image - Image to be included in the embed.
- Provider
Message
Embed Provider - Provider of the embed.
- Thumbnail
Message
Embed Thumbnail - Thumbnail to be included in the embed.
- Timestamp string
- Timestamp of the embed content.
- Title string
- Title of the embed.
- Url string
- URL of the embed.
- Video
Message
Embed Video - Video to be included in the embed.
- Message
Embed Author - Author of the embed.
- color Double
- Color of the embed. Must be an integer color code.
- description String
- Description of the embed.
- fields
List<Message
Embed Field> - Fields of the embed.
- Message
Embed Footer - Footer of the embed.
- image
Message
Embed Image - Image to be included in the embed.
- provider
Message
Embed Provider - Provider of the embed.
- thumbnail
Message
Embed Thumbnail - Thumbnail to be included in the embed.
- timestamp String
- Timestamp of the embed content.
- title String
- Title of the embed.
- url String
- URL of the embed.
- video
Message
Embed Video - Video to be included in the embed.
- Message
Embed Author - Author of the embed.
- color number
- Color of the embed. Must be an integer color code.
- description string
- Description of the embed.
- fields
Message
Embed Field[] - Fields of the embed.
- Message
Embed Footer - Footer of the embed.
- image
Message
Embed Image - Image to be included in the embed.
- provider
Message
Embed Provider - Provider of the embed.
- thumbnail
Message
Embed Thumbnail - Thumbnail to be included in the embed.
- timestamp string
- Timestamp of the embed content.
- title string
- Title of the embed.
- url string
- URL of the embed.
- video
Message
Embed Video - Video to be included in the embed.
- Message
Embed Author - Author of the embed.
- color float
- Color of the embed. Must be an integer color code.
- description str
- Description of the embed.
- fields
Sequence[Message
Embed Field] - Fields of the embed.
- Message
Embed Footer - Footer of the embed.
- image
Message
Embed Image - Image to be included in the embed.
- provider
Message
Embed Provider - Provider of the embed.
- thumbnail
Message
Embed Thumbnail - Thumbnail to be included in the embed.
- timestamp str
- Timestamp of the embed content.
- title str
- Title of the embed.
- url str
- URL of the embed.
- video
Message
Embed Video - Video to be included in the embed.
- Property Map
- Author of the embed.
- color Number
- Color of the embed. Must be an integer color code.
- description String
- Description of the embed.
- fields List<Property Map>
- Fields of the embed.
- Property Map
- Footer of the embed.
- image Property Map
- Image to be included in the embed.
- provider Property Map
- Provider of the embed.
- thumbnail Property Map
- Thumbnail to be included in the embed.
- timestamp String
- Timestamp of the embed content.
- title String
- Title of the embed.
- url String
- URL of the embed.
- video Property Map
- Video to be included in the embed.
MessageEmbedAuthor, MessageEmbedAuthorArgs
- Icon
Url string - URL of the author's icon.
- Name string
- Name of the author.
- Proxy
Icon stringUrl - URL to access the author's icon via Discord's proxy.
- Url string
- URL of the author.
- Icon
Url string - URL of the author's icon.
- Name string
- Name of the author.
- Proxy
Icon stringUrl - URL to access the author's icon via Discord's proxy.
- Url string
- URL of the author.
- icon
Url String - URL of the author's icon.
- name String
- Name of the author.
- proxy
Icon StringUrl - URL to access the author's icon via Discord's proxy.
- url String
- URL of the author.
- icon
Url string - URL of the author's icon.
- name string
- Name of the author.
- proxy
Icon stringUrl - URL to access the author's icon via Discord's proxy.
- url string
- URL of the author.
- icon_
url str - URL of the author's icon.
- name str
- Name of the author.
- proxy_
icon_ strurl - URL to access the author's icon via Discord's proxy.
- url str
- URL of the author.
- icon
Url String - URL of the author's icon.
- name String
- Name of the author.
- proxy
Icon StringUrl - URL to access the author's icon via Discord's proxy.
- url String
- URL of the author.
MessageEmbedField, MessageEmbedFieldArgs
MessageEmbedFooter, MessageEmbedFooterArgs
MessageEmbedImage, MessageEmbedImageArgs
MessageEmbedProvider, MessageEmbedProviderArgs
MessageEmbedThumbnail, MessageEmbedThumbnailArgs
MessageEmbedVideo, MessageEmbedVideoArgs
Import
$ pulumi import discord:index/message:Message example "<message id>"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- discord lucky3028/terraform-provider-discord
- License
- Notes
- This Pulumi package is based on the
discord
Terraform Provider.