• Home
  • API Documentation

Class MentionsAttachment

Represents an attachment to a GroupMe Message containing mentions (ex, @Username).

Inheritance
Object
Attachment
MentionsAttachment
Namespace: GroupMeClientApi.Models.Attachments
Assembly: GroupMeClientApi.dll
Syntax
public class MentionsAttachment : Attachment

Properties

| Improve this Doc View Source

LocationIndicies

Gets the text starting index and length of each mention string.

Declaration
public List<int[]> LocationIndicies { get; }
Property Value
Type Description
List<Int32[]>
| Improve this Doc View Source

Type

Gets the attachment type.

Declaration
public override string Type { get; }
Property Value
Type Description
String
Overrides
Attachment.Type
| Improve this Doc View Source

UserIds

Gets the user ids of the mentioned users.

Declaration
public string[] UserIds { get; }
Property Value
Type Description
String[]

Methods

| Improve this Doc View Source

Mentions()

Returns an for each mention contained in this attachment.

Declaration
public IEnumerable<(string id, int startIndex, int length)> Mentions()
Returns
Type Description
IEnumerable<ValueTuple<String, Int32, Int32>>

An .

  • Edit on GitHub
  • View on GitHub
Back to top Generated by DocFX