Files: 07de6e0bf8f8051cfea29058496ca70ae04e5c99 / tmpl / docs / message-types / about.md
About
About-messages set attributes about someone or something. They can be used to set a name or picture for users, files, or messages. However, they're most commonly published about users.
About messages do not have to have both name
and image
, and, in fact, it's recommended that they only have one or the other.
Why?
Because then a vote
on the message can be more specific.
{ type: 'about', about: Link, name: String, image: BlobLink }
Names
There's no global registry of names. Each user can choose a name for themselves and for others, and conflicts are allowed.
Its up to your application to decide which names to use. Generally speaking, names by followed users are trusted, and the local user gets to override all decisions.
A common rule for names is to allow A-z0-9._-
, and not allow a trailing .
.
Images
For images, a common size is 512x512. Square images are recommended but not required.
Some recommended (but not required) attributes on the image
link:
width
in pixelsheight
in pixelsname
a string filenamesize
in bytestype
a mimetype
Built with git-ssb-web