Attributes#
| Attribute | Type | Description |
|---|---|---|
envelope | AckChunk | Interrupt | |
rpc | AnyRpc = _never_rpc |
Functions#
__init__#
__init__(*, envelope, rpc=_never_rpc) -> None| Parameter | Type | Description |
|---|---|---|
envelope | AckChunk | Interrupt | |
rpc | AnyRpc = _never_rpc |
interrupt#
interrupt(*, address, id, request_id) -> OutgoingEnvelope| Parameter | Type | Description |
|---|---|---|
address | EntityAddress | |
id | Snowflake | |
request_id | Snowflake |
Returns OutgoingEnvelope
@staticmethod
def interrupt(
*, address: EntityAddress, id: Snowflake, request_id: Snowflake
) -> OutgoingEnvelope:
return OutgoingEnvelope(envelope=Interrupt(id=id, address=address, request_id=request_id))