UNPKG

@dderevjanik/termux-api

Version:

This library allows you to interact with your Android device from Node.js using termux-api

22 lines (21 loc) 562 B
export interface SmsSendOptions { /** * Numbers Recipient number(s) * @example ["+421910123456", "0910123456", "4ka"] */ numbers: string[]; /** * Text Text of the SMS * @example "Hello, World!" */ text: string; /** * Sim slot to use - silently fails if slot number is invalid or if missing `READ_PHONE_STATE` permission * @default 0 */ slot?: number; } /** * Send a SMS message to the specified recipient number(s) */ export declare function smsSend(options: SmsSendOptions): Promise<void>;