(
messageId: string,
body: { addLabels?: Array<string>; removeLabels?: Array<string> },
explicitAddress?: string,
)
| 203 | } |
| 204 | |
| 205 | updateMessageLabels( |
| 206 | messageId: string, |
| 207 | body: { addLabels?: Array<string>; removeLabels?: Array<string> }, |
| 208 | explicitAddress?: string, |
| 209 | ): Promise<UpdateMessageResultView> { |
| 210 | return this.sdk.messages.updateLabels( |
| 211 | this.resolveAddress(explicitAddress), |
| 212 | messageId, |
| 213 | body, |
| 214 | ); |
| 215 | } |
| 216 | |
| 217 | getMessage(messageId: string, explicitAddress?: string): Promise<MessageView> { |
| 218 | return this.sdk.messages.get(this.resolveAddress(explicitAddress), messageId); |
no test coverage detected