PostBotMessageCommand WithAttachment Method CkSoftware GroupMe SDK - Documentation
Defines that the bot-message should contain the given attachment.

Namespace: CkSoftware.GroupMe.Sdk.Bot.Commands
Assembly: CkSoftware.GroupMe.Sdk.Bot (in CkSoftware.GroupMe.Sdk.Bot.dll) Version: 1.0.1.35397 (1.0.1.0)
Syntax

public PostBotMessageCommand WithAttachment(
	GroupMeAttachmentBase attachment
)

Return Value

Type: PostBotMessageCommand
The extended PostBotMessageCommand.
Exceptions

ExceptionCondition
ArgumentNullExceptionOccurs if the attachment is null.
ArgumentExceptionOccurs if the attachment-type is not set.
See Also