GroupMeDirectMessages GetCreateMessageCommand Method CkSoftware GroupMe SDK - Documentation
Instantiates a new CreateMessageCommand for direct messages.

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

protected override IWebApiCommand<GroupMeApiResponse<GroupMeMessageData>> GetCreateMessageCommand(
	string sourceGuid,
	string text,
	IEnumerable<GroupMeAttachmentBase> attachments
)

Parameters

sourceGuid
Type: System String
The source-guid to use in the direct-message.
text
Type: System String
The text to use in the direct-message.
attachments
Type: System.Collections.Generic IEnumerable GroupMeAttachmentBase 
The attachments to use in the direct-message.

Return Value

Type: IWebApiCommand GroupMeApiResponse GroupMeMessageData  
The correctly constructed IWebApiCommand.
See Also