Table of Contents

Class MessageActivity

Namespace
Discord
Assembly
Discord.Net.Core.dll

An activity object found in a sent message.

public class MessageActivity
Inheritance
MessageActivity
Inherited Members

Remarks

This class refers to an activity object, visually similar to an embed within a message. However, a message activity is interactive as opposed to a standard static embed.

For example, a Spotify party invitation counts as a message activity.

Properties

PartyId

Gets the party ID of this activity, if any.

public string PartyId { get; }

Property Value

string

Type

Gets the type of activity of this message.

public MessageActivityType Type { get; }

Property Value

MessageActivityType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.