FileScopeNotSupportedError Class
Raised when file bytes are requested for a conversation scope whose download path is not implemented.
Only personal (1:1) uploaded files download directly. groupChat files are surfaced by list(), but fetching their bytes needs Graph; download()/stream() throws until that path lands.
Constructor
FileScopeNotSupportedError(scope: Literal['personal', 'groupChat', 'channel'] | str, message: str | None = None)
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
|
|
message
|
Default value: None
|
Attributes
scope
The conversation scope that is not yet fetchable.
scope: Literal['personal', 'groupChat', 'channel'] | str