DiscordInstallation
- guild_id (str): The unique identifier for the Discord guild (server) where the application is installed.
- access_token (str): The access token used to authenticate API requests for the installed application.
- refresh_token (str): The token used to refresh the access token when it expires.
- installed_at (datetime): The timestamp indicating when the application was installed in the guild.
- token_expires_at (Optional[datetime]): The optional timestamp indicating when the access token will expire. Defaults to None if the token does not have an expiration time.
init
- guild_id (str): The unique identifier for the Discord guild (server) where the application is installed.
- access_token (str): The access token used to authenticate API requests for the installed application.
- refresh_token (str): The token used to refresh the access token when it expires.
- installed_at (datetime): The timestamp indicating when the application was installed in the guild.
- token_expires_at (Optional[datetime]): The optional timestamp indicating when the access token will expire. Defaults to None if the token does not have an expiration time. (default: :obj:
None
)