This commit is contained in:
parent
630dbfaea2
commit
3deec366c1
@ -118,6 +118,15 @@ class LarkMessageService extends LarkBaseService {
|
|||||||
}
|
}
|
||||||
return this.post<Lark.BaseRes>(path, { msg_type: msgType, content })
|
return this.post<Lark.BaseRes>(path, { msg_type: msgType, content })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 回复卡片消息
|
||||||
|
* @param messageId 消息ID
|
||||||
|
* @param content 消息内容
|
||||||
|
*/
|
||||||
|
async replyCard(messageId: string, content: string | Record<string, any>) {
|
||||||
|
return this.reply(messageId, "interactive", content)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default LarkMessageService
|
export default LarkMessageService
|
||||||
|
Loading…
x
Reference in New Issue
Block a user