Struct UserMention
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Allows @user pings to mention in the message.
public readonly struct UserMention : IMention
- Implements
Remarks
Allows the specific user to be mentioned
Constructors
- UserMention(DiscordUser)
Allows the specific user to be mentioned
- UserMention(ulong)
Allows @user pings to mention in the message.
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.