Discore
Show / Hide Table of Contents

Method SetRoles

| Improve this Doc View Source

SetRoles(IList<Snowflake>)

Sets the list of role IDs to mention (max of 100).

Declaration
public AllowedMentionsOptions SetRoles(IList<Snowflake> roles)
Parameters
Type Name Description
IList<Snowflake> roles
Returns
Type Description
AllowedMentionsOptions
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX