• Home
  • API Documentation

Class Contact

Represents a GroupMe Contact.

Inheritance
Object
Contact
Implements
IAvatarSource
Namespace: GroupMeClientApi.Models
Assembly: GroupMeClientApi.dll
Syntax
public class Contact : object, IAvatarSource

Properties

| Improve this Doc View Source

AppInstalled

Gets a value indicating whether the Contact has the GroupMe app installed.

Declaration
public bool AppInstalled { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

AvatarUrl

Gets the Url to the Contact's avatar picture.

Declaration
public string AvatarUrl { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Blocked

Gets a value indicating whether the Contact has been blocked.

Declaration
public bool Blocked { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Client

Gets the GroupMeClient that manages.

Declaration
public GroupMeClient Client { get; }
Property Value
Type Description
GroupMeClient
| Improve this Doc View Source

CreatedAtIso8601Time

Gets the ISO8601 timestamp when the Contact was created.

Declaration
public string CreatedAtIso8601Time { get; }
Property Value
Type Description
String
| Improve this Doc View Source

CreatedAtTime

Gets the time when the Contact was created.

Declaration
public DateTime CreatedAtTime { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

CreatedAtUnixTime

Gets the Unix Timestamp when the Contact was created.

Declaration
public int CreatedAtUnixTime { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Hidden

Gets a value indicating whether the Contact is hidden.

Declaration
public bool Hidden { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Id

Gets the Contact's unique identifier.

Declaration
public string Id { get; }
Property Value
Type Description
String
| Improve this Doc View Source

ImageOrAvatarUrl

Gets the Url to the Contact's avatar.

Declaration
public string ImageOrAvatarUrl { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Name

Gets a Contact's full name or username.

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

UpdatedAtIso8601Time

Gets the ISO 8601 timestamp when the Contact was last updated.

Declaration
public string UpdatedAtIso8601Time { get; }
Property Value
Type Description
String
| Improve this Doc View Source

UpdatedAtTime

Gets the time when the Contact was last updated.

Declaration
public DateTime UpdatedAtTime { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

UpdatedAtUnixTime

Gets the Unix Timestamp when the Contact was last updated.

Declaration
public int UpdatedAtUnixTime { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

UserId

Gets the user id for a Contact.

Declaration
public string UserId { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

BlockContact()

Blocks this Contact.

Declaration
public Task<bool> BlockContact()
Returns
Type Description
Task<Boolean>

True if this Contact is successfully blocked.

| Improve this Doc View Source

UnblockContact()

Unblocks this Contact.

Declaration
public Task<bool> UnblockContact()
Returns
Type Description
Task<Boolean>

True if this Contact is successfully unblocked.

Explicit Interface Implementations

| Improve this Doc View Source

IAvatarSource.IsRoundedAvatar

Gets a value indicating whether the avatar image should be rounded for this IAvatarSource.

Declaration
bool IAvatarSource.IsRoundedAvatar { get; }
Returns
Type Description
Boolean

Implements

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