Class MentionsAttachment
Represents an attachment to a GroupMe Message containing mentions (ex, @Username).
Namespace: GroupMeClientApi.Models.Attachments
Assembly: GroupMeClientApi.dll
Syntax
public class MentionsAttachment : Attachment
Properties
| Improve this Doc View SourceLocationIndicies
Gets the text starting index and length of each mention string.
Declaration
public List<int[]> LocationIndicies { get; }
Property Value
| Type | Description |
|---|---|
| List<Int32[]> |
Type
Gets the attachment type.
Declaration
public override string Type { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
| Improve this Doc View SourceUserIds
Gets the user ids of the mentioned users.
Declaration
public string[] UserIds { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
Methods
| Improve this Doc View SourceMentions()
Returns an
Declaration
public IEnumerable<(string id, int startIndex, int length)> Mentions()
Returns
| Type | Description |
|---|---|
| IEnumerable<ValueTuple<String, Int32, Int32>> | An |