GroupMeDirectMessages ClassCkSoftware GroupMe SDK - Documentation
Manager class for direct messages. Handles loading, creating, liking and unliking direct messages.
Inheritance Hierarchy

System Object
  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

public class GroupMeDirectMessages : GroupMeMessages

The GroupMeDirectMessages type exposes the following members.

Constructors

  NameDescription
Public methodGroupMeDirectMessages
Instantiates a new GroupMeDirectMessages object.
Top
Methods

  NameDescription
Public methodCreateMessage
Creates a new message in this group.
(Inherited from GroupMeMessages.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCreateMessageCommand
Instantiates a new CreateMessageCommand for direct messages.
(Overrides GroupMeMessages GetCreateMessageCommand(String, String, IEnumerable GroupMeAttachmentBase ).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetLoadMessagesCommandForDirection
Instantiates a new IndexCommand for direct messages.
(Overrides GroupMeMessages GetLoadMessagesCommandForDirection(MessageLoadDirection).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLikeMessage(String)
Likes the message with the supplied message id.
(Inherited from GroupMeMessages.)
Public methodLikeMessage(GroupMeMessageData)
Likes the supplied message.
(Inherited from GroupMeMessages.)
Public methodLoadCurrentMessages
Loads the currently available messages. If there were messages loaded previously (located in LoadedMessages), they will be cleared.
(Inherited from GroupMeMessages.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodScrollBackward
Moves max 20 messages backward, from the last known message available.
(Inherited from GroupMeMessages.)
Public methodScrollForward
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlikeMessage(String)
Unlikes the message with the supplied message id.
(Inherited from GroupMeMessages.)
Public methodUnlikeMessage(GroupMeMessageData)
Unlikes the supplied message.
(Inherited from GroupMeMessages.)
Top
Fields

  NameDescription
Protected fieldInitialLoadDone
Defines if the initial-load is completed successfully (and a scrolling can be used).
(Inherited from GroupMeMessages.)
Protected fieldNewestMessageId
Defines the newest loaded message id, used for scrolling.
(Inherited from GroupMeMessages.)
Protected fieldOldestMessageId
Defines the oldest loaded message id, used for scrolling.
(Inherited from GroupMeMessages.)
Top
Properties

  NameDescription
Public propertyLoadedMessages
Contains all currently loaded (in-memory) messages, ordered by CreatedAt. Will be cleared if LoadCurrentMessages() is executed.
(Inherited from GroupMeMessages.)
Top
See Also