11
edits
Line 85: | Line 85: | ||
* <tt>picturesOf(callback)</tt> invokes the callback, passing an array of objects representing photos of the contact. The objects are photos, see below. | * <tt>picturesOf(callback)</tt> invokes the callback, passing an array of objects representing photos of the contact. The objects are photos, see below. | ||
* The | * The picturesOf method produces a list of pictures The fields of each picture are: | ||
** <tt>name</tt>: optional; a filename or label for the picture | ** <tt>name</tt>: optional; a filename or label for the picture | ||
** <tt>homeURL</tt>: the URL of a page containing more detail about a picture | ** <tt>homeURL</tt>: the URL of a page containing more detail about a picture | ||
Line 92: | Line 92: | ||
* <tt>sendPrivateMessageTo(message, callback)</tt> submits the given message to a service of the contact that will deliver the message privately. (Note that the message may be subject to significant restrictions; we need to provide a better API to understand character limits, two-way permissions, etc.) | * <tt>sendPrivateMessageTo(message, callback)</tt> submits the given message to a service of the contact that will deliver the message privately. (Note that the message may be subject to significant restrictions; we need to provide a better API to understand character limits, two-way permissions, etc.) | ||
* <tt>sendPublicMessageTo(message, callback)</tt> submits the given message to a service of the contact that will deliver the message publicly. (Note that the message may be subject to significant restrictions; we need to provide a better API to understand character limits, two-way permissions, etc.) |
edits