Instantiates a new GroupMeBot class and creates a new bot with the given data.
Namespace: CkSoftware.GroupMe.Sdk.BotAssembly: CkSoftware.GroupMe.Sdk.Bot (in CkSoftware.GroupMe.Sdk.Bot.dll) Version: 1.0.1.35397 (1.0.1.0)
Syntax
Parameters
- webApiAccess
- Type: CkSoftware.GroupMe.Sdk.Core IWebApiAccess
The IWebApiAccess to access the GroupMe API.
- name
- Type: System String
The name of the new bot to craete.
- groupId
- Type: System String
The group id where the new bot should live in.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Occurs if the webApiAccess is null. |
See Also