Skip to content

Support

qgendapy.resources.support

SupportResource(client)

Bases: BaseResource

Synchronous support endpoints.

Source code in src/qgendapy/resources/_base.py
def __init__(self, client: QGendaClient) -> None:
    self._client = client

send_message(staff_key, *, data)

Source code in src/qgendapy/resources/support.py
def send_message(self, staff_key: str, *, data: dict) -> QGendaResponse:
    return self._post(f"/support/staff/{staff_key}", json=data)

AsyncSupportResource(client)

Bases: AsyncBaseResource

Asynchronous support endpoints.

Source code in src/qgendapy/resources/_base.py
def __init__(self, client: AsyncQGendaClient) -> None:
    self._client = client

send_message(staff_key, *, data) async

Source code in src/qgendapy/resources/support.py
async def send_message(self, staff_key: str, *, data: dict) -> QGendaResponse:
    return await self._post(f"/support/staff/{staff_key}", json=data)