Class MessageActivity
An activity object found in a sent message.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class MessageActivity : object
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
| Improve this Doc View SourcePartyId
Gets the party ID of this activity, if any.
Declaration
public string PartyId { get; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the type of activity of this message.
Declaration
public MessageActivityType Type { get; }
Property Value
Type | Description |
---|---|
MessageActivityType |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |