Module sanic_discord.interaction.interactions
Expand source code
from sanic import response
from typing import TypedDict
class InteractionType(TypedDict):
id: int
application_id: int
class Interaction:
def __init__(self, data: InteractionType):
pass
Classes
class Interaction (data: InteractionType)
-
Expand source code
class Interaction: def __init__(self, data: InteractionType): pass
class InteractionType (*args, **kwargs)
-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Expand source code
class InteractionType(TypedDict): id: int application_id: int
Ancestors
- builtins.dict
Class variables
var application_id : int
var id : int