social.colibri.beta.bridge.editMessage
Replaces the text of a message the calling bridge posted.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bridge.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Replaces the text of a message the calling bridge posted.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "The community has no bridge registration with that id.",
"name": "RegistrationNotFound"
},
{
"description": "The caller is not the bridge this registration belongs to.",
"name": "Forbidden"
},
{
"description": "An admin has paused this registration.",
"name": "RegistrationDisabled"
},
{
"description": "The channel is not linked to this registration.",
"name": "ChannelNotLinked"
},
{
"description": "The bridge sent too many requests. Retry after the interval in the response headers.",
"name": "RateLimited"
},
{
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
"name": "CredentialsUnavailable"
},
{
"description": "No record exists at the given key in that channel.",
"name": "RecordNotFound"
},
{
"description": "The target record was not written for this registration.",
"name": "NotBridged"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"channel": {
"description": "The linked channel or thread the record lives in.",
"format": "space-ref",
"type": "string"
},
"community": {
"description": "The community the registration belongs to.",
"format": "did",
"type": "string"
},
"facets": {
"description": "Annotations over ranges of the new text.",
"items": {
"description": "An annotation.",
"ref": "social.colibri.beta.richtext.facet",
"type": "ref"
},
"type": "array"
},
"registration": {
"description": "Record key of the registration.",
"format": "tid",
"type": "string"
},
"rkey": {
"description": "Record key of the message.",
"format": "record-key",
"type": "string"
},
"text": {
"description": "The new message body.",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"community",
"registration",
"channel",
"rkey",
"text"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.bridge.editMessage",
"lexicon": 1
}