提交 0c498461 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add doc (#2004)

上级 d3587739
......@@ -935,7 +935,8 @@ export class Message extends Accessory implements Sayable {
* For example, the message is sent at time `8:43:01`,
* and when we received it in Wechaty, the time is `8:43:15`,
* then the age() will return `8:43:15 - 8:43:01 = 14 (seconds)`
* @returns {number}
*
* @returns {number} message age in seconds.
*/
public age (): number {
const ageMilliseconds = Date.now() - this.date().getTime()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册