(ui: Renderable)
| 103 | } |
| 104 | |
| 105 | async post(ui: Renderable): Promise<MessageRef> { |
| 106 | const bound = await this.bindForPost(ui); |
| 107 | const ref = await this.deps.adapter.post(this.deps.replyTarget, bound.root); |
| 108 | await this.bindReaction(ref.id, bound); |
| 109 | return ref; |
| 110 | } |
| 111 | |
| 112 | async update(ref: MessageRef, ui: Renderable): Promise<MessageRef> { |
| 113 | const bound = await this.bindForPost(ui); |
no test coverage detected