Search Results for

    Show / Hide Table of Contents

    Class MessageActivity

    An activity object found in a sent message.

    Inheritance
    Object
    MessageActivity
    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 Source

    PartyId

    Gets the party ID of this activity, if any.

    Declaration
    public string PartyId { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Type

    Gets the type of activity of this message.

    Declaration
    public MessageActivityType Type { get; }
    Property Value
    Type Description
    MessageActivityType

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.10.0