Confirmed users
398
edits
Line 115: | Line 115: | ||
* When the user reading a message with a Message App, | * When the user reading a message with a Message App, | ||
* the user press on a "Reply" button. | * the user press on a "Reply" button. | ||
* The Message App send a Web Activity for the name given by Message::handler; for ex. "Twitter", and with the | * The Message App send a Web Activity for the name given by Message::handler; for ex. "Twitter", and with the object ID of Data Store. | ||
* Then, the communication App is responsible for editing and sending a message. | * Then, the communication App is responsible for editing and sending a message. | ||
var act = new Activity({ name: "telephony:Twitter", data : { action: "replymessage", message: <object ID> }}); | |||
Message::receiver, for here, are used by the communication App to determine an account for replying the message if the App supports multiple accounts for an installation. The user may change the sender of a message instead of the value from Message::receiver. For example, some MUAs allow users to assign |From| field while composing a message. | Message::receiver, for here, are used by the communication App to determine an account for replying the message if the App supports multiple accounts for an installation. The user may change the sender of a message instead of the value from Message::receiver. For example, some MUAs allow users to assign |From| field while composing a message. |