Manager class for direct messages. Handles loading, creating, liking and unliking direct messages.
Inheritance Hierarchy
CkSoftware.GroupMe.Sdk.Messaging GroupMeMessages
CkSoftware.GroupMe.Sdk.Messaging GroupMeDirectMessages
Namespace: CkSoftware.GroupMe.Sdk.Messaging
Assembly: CkSoftware.GroupMe.Sdk.Messaging (in CkSoftware.GroupMe.Sdk.Messaging.dll) Version: 1.0.1.35397 (1.0.1.0)
Syntax
The GroupMeDirectMessages type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GroupMeDirectMessages |
Instantiates a new GroupMeDirectMessages object.
|
Methods
Name | Description | |
---|---|---|
CreateMessage |
Creates a new message in this group.
(Inherited from GroupMeMessages.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCreateMessageCommand |
Instantiates a new CreateMessageCommand for direct messages.
(Overrides GroupMeMessages GetCreateMessageCommand(String, String, IEnumerable GroupMeAttachmentBase ).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLoadMessagesCommandForDirection |
Instantiates a new IndexCommand for direct messages.
(Overrides GroupMeMessages GetLoadMessagesCommandForDirection(MessageLoadDirection).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LikeMessage(String) |
Likes the message with the supplied message id.
(Inherited from GroupMeMessages.) | |
LikeMessage(GroupMeMessageData) |
Likes the supplied message.
(Inherited from GroupMeMessages.) | |
LoadCurrentMessages |
Loads the currently available messages. If there were messages loaded previously (located in LoadedMessages), they will
be cleared.
(Inherited from GroupMeMessages.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ScrollBackward |
Moves max 20 messages backward, from the last known message available.
(Inherited from GroupMeMessages.) | |
ScrollForward |
Moves 20 messages forward, will do a big jump, if there are more than 20 new messages available in this group (will
create a messages-gap).
(Inherited from GroupMeMessages.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnlikeMessage(String) |
Unlikes the message with the supplied message id.
(Inherited from GroupMeMessages.) | |
UnlikeMessage(GroupMeMessageData) |
Unlikes the supplied message.
(Inherited from GroupMeMessages.) |
Fields
Name | Description | |
---|---|---|
InitialLoadDone |
Defines if the initial-load is completed successfully (and a scrolling can be used).
(Inherited from GroupMeMessages.) | |
NewestMessageId |
Defines the newest loaded message id, used for scrolling.
(Inherited from GroupMeMessages.) | |
OldestMessageId |
Defines the oldest loaded message id, used for scrolling.
(Inherited from GroupMeMessages.) |
Properties
Name | Description | |
---|---|---|
LoadedMessages |
Contains all currently loaded (in-memory) messages, ordered by CreatedAt. Will be cleared if LoadCurrentMessages() is
executed.
(Inherited from GroupMeMessages.) |
See Also