Module Values.GetBotResponseSource

Retrieves detailed information about a specific bot in a Wickr network, including its status, group membership, and authentication details.

Sourcetype nonrec t = {
  1. botId : GenericString.t option;
    (*

    The unique identifier of the bot.

    *)
  2. displayName : GenericString.t option;
    (*

    The display name of the bot that is visible to users.

    *)
  3. username : GenericString.t option;
    (*

    The username of the bot.

    *)
  4. uname : GenericString.t option;
    (*

    The unique username hash identifier for the bot.

    *)
  5. pubkey : GenericString.t option;
    (*

    The public key of the bot used for encryption.

    *)
  6. status : BotStatus.t option;
    (*

    The current status of the bot (1 for pending, 2 for active).

    *)
  7. groupId : GenericString.t option;
    (*

    The ID of the security group to which the bot belongs.

    *)
  8. hasChallenge : Boolean.t option;
    (*

    Indicates whether the bot has a password set.

    *)
  9. suspended : Boolean.t option;
    (*

    Indicates whether the bot is currently suspended.

    *)
  10. lastLogin : GenericString.t option;
    (*

    The timestamp of the bot's last login.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestError of BadRequestError.t
  2. | `ForbiddenError of ForbiddenError.t
  3. | `InternalServerError of InternalServerError.t
  4. | `RateLimitError of RateLimitError.t
  5. | `ResourceNotFoundError of ResourceNotFoundError.t
  6. | `UnauthorizedError of UnauthorizedError.t
  7. | `ValidationError of ValidationError.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?botId:??? -> ?displayName:??? -> ?username:??? -> ?uname:??? -> ?pubkey:??? -> ?status:??? -> ?groupId:??? -> ?hasChallenge:??? -> ?suspended:??? -> ?lastLogin:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of BotStatus.t | `String of GenericString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t