Module Values.BotSource

Represents a bot account in a Wickr network with all its informational fields.

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.

    *)
}
Sourceval make : ?botId:??? -> ?displayName:??? -> ?username:??? -> ?uname:??? -> ?pubkey:??? -> ?status:??? -> ?groupId:??? -> ?hasChallenge:??? -> ?suspended:??? -> ?lastLogin:??? -> unit -> 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