Tries to find the bot using the given bot-name and group id.
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
- name
- Type: System String
The bot name to search for (case insensitive).
- groupId
- Type: System String
the group-id where the bot should live in.
Return Value
Type: Task GroupMeBotAwaitable task resulting in an instance of GroupMeBot if the bot was found. Throws exception if not!
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Occurs when there is no bot with the given name and group-id. |
See Also