Defines that the bot-message should contain the given attachment.
Namespace: CkSoftware.GroupMe.Sdk.Bot.CommandsAssembly: CkSoftware.GroupMe.Sdk.Bot (in CkSoftware.GroupMe.Sdk.Bot.dll) Version: 1.0.1.35397 (1.0.1.0)
Syntax
Parameters
- attachment
- Type: CkSoftware.GroupMe.Sdk.Core.Dao GroupMeAttachmentBase
The attachment to add to the bot-message.
Return Value
Type: PostBotMessageCommandThe extended PostBotMessageCommand.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Occurs if the attachment is null. |
ArgumentException | Occurs if the attachment-type is not set. |
See Also