(error)
| 10 | const INTERACTION_UNAVAILABLE_CODES = new Set([10062, 40060, 50027]); |
| 11 | |
| 12 | function isInteractionUnavailableError(error) { |
| 13 | return INTERACTION_UNAVAILABLE_CODES.has(error?.code); |
| 14 | } |
| 15 | |
| 16 | function sanitizeEditReplyOptions(options = {}) { |
| 17 | if (!options || typeof options !== 'object') { |
no outgoing calls
no test coverage detected