Table of Contents

Struct UserMention

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Allows @user pings to mention in the message.

public readonly struct UserMention : IMention
Implements
Inherited Members

Constructors

UserMention(DiscordUser)

Allows the specific user to be mentioned

UserMention(ulong)

Allows the specific user to be mentioned

Fields

All

Allow mentioning of all users. Alias to UserMention constructor.

Properties

Id

Optional Id of the user that is allowed to be mentioned. If null, then all user mentions will be allowed.

Operators

implicit operator UserMention(DiscordUser)