Skip to main content
Latest
class SessionInformationGettersApi
import { SessionInformationGettersApi } from "https://deno.land/x/periskope_maytapi_deno@v1.4.0/index.ts";

Constructors

new
SessionInformationGettersApi(
configuration: Configuration,
requestFactory?: SessionInformationGettersApiRequestFactory,
responseProcessor?: SessionInformationGettersApiResponseProcessor,
)

Properties

private
api: ObservableSessionInformationGettersApi

Methods

phoneIdContactConversationIdGet(
phoneId: string,
conversationId: string,
_options?: Configuration,
): Promise<PhoneIdContactConversationIdGet200Response>

Returns the information of the number you specified in Whatsapp

phoneIdContactsGet(phoneId: string, _options?: Configuration): Promise<PhoneIdContactsGet200Response>

Returns the contacts in the current whatsapp instance.

phoneIdQrCodeGet(phoneId: string, _options?: Configuration): Promise<void>

Returns the qrCode in the current session if there is one.

phoneIdScreenGet(phoneId: string, _options?: Configuration): Promise<void>

Returns the status of the current session.

phoneIdStatusGet(phoneId: string, _options?: Configuration): Promise<Status>

Returns the screenshot of the screen in the current session.