Skip to content

Keybase

Keybase website Keybase Binding


keybase chat api -m '{
  "method": "read",
  "params": {
    "options": {
      "channel": {
        "name": "docxology"
      }
    }
  }
}'


keybase chat api -m '{"method": "send", "params": {"options": {"channel": {"name": "dentropydaemon", "members_type": "team", "topic_name": "bot-testing"}, "message": {"body": "CLI TEST?"}}}}'

keybase chat api -m '{"method": "send", "params": {"options": {"channel": {"name": "dentropydaemon", "members_type": "team", "topic_name": "bot-testing"}, "message": {"body": "Wow it worked"}}}}'

Example Message


{
        "msg": {
          "id": 13,
          "conversation_id": "UUID",
          "channel": {
            "name": "other,me",
            "members_type": "impteamnative",
            "topic_type": "chat"
          },
          "sender": {
            "uid": "e9eb721c357ab5a89599a7141fee2419",
            "username": "me",
            "device_id": "86096b413c5bff6b7e1b285b776b2118",
            "device_name": "Linux Device Feb 2024"
          },
          "sent_at": 1709924505,
          "sent_at_ms": 1709924505298,
          "content": {
            "type": "text",
            "text": {
              "body": "Hello World",
              "payments": null,
              "replyTo": 6,
              "userMentions": [
                {
                  "text": "",
                  "uid": "q5h624QoQIaVei2N8vJ5GQ=="
                }
              ],
              "teamMentions": null,
              "emojis": null
            }
          },
          "prev": [
            {
              "id": 12,
              "hash": "psRVUYJ7GsXYyimdq+OZqlBrzXipp1DThNUvzWRVfbQ="
            }
          ],
          "unread": false,
          "at_mention_usernames": [
            "docxology"
          ],
          "channel_mention": "none"
        }
      }

Social Media Message Format

{
  "content":{
    "type":"text",
    "text":{
      "body":"Awesome, are you still on the education/textbook analysis trail as well?",
      "payments":null,
      "userMentions":null,
      "teamMentions":null,
      "emojis":null
    }
  }
}