@@ -362,9 +362,9 @@ async def get_event(
362
362
event_id: The event_id of the event to fetch
363
363
364
364
redact_behaviour: Determine what to do with a redacted event. Possible values:
365
- * AS_IS - Return the full event body with no redacted content
366
- * REDACT - Return the event but with a redacted body
367
- * DISALLOW - Do not return redacted events (behave as per allow_none
365
+ * as_is - Return the full event body with no redacted content
366
+ * redact - Return the event but with a redacted body
367
+ * block - Do not return redacted events (behave as per allow_none
368
368
if the event is redacted)
369
369
370
370
get_prev_content: If True and event is a state event,
@@ -417,9 +417,9 @@ async def get_events(
417
417
418
418
redact_behaviour: Determine what to do with a redacted event. Possible
419
419
values:
420
- * AS_IS - Return the full event body with no redacted content
421
- * REDACT - Return the event but with a redacted body
422
- * DISALLOW - Do not return redacted events (omit them from the response)
420
+ * as_is - Return the full event body with no redacted content
421
+ * redact - Return the event but with a redacted body
422
+ * block - Do not return redacted events (omit them from the response)
423
423
424
424
get_prev_content: If True and event is a state event,
425
425
include the previous states content in the unsigned field.
@@ -455,9 +455,9 @@ async def get_events_as_list(
455
455
event_ids: The event_ids of the events to fetch
456
456
457
457
redact_behaviour: Determine what to do with a redacted event. Possible values:
458
- * AS_IS - Return the full event body with no redacted content
459
- * REDACT - Return the event but with a redacted body
460
- * DISALLOW - Do not return redacted events (omit them from the response)
458
+ * as_is - Return the full event body with no redacted content
459
+ * redact - Return the event but with a redacted body
460
+ * block - Do not return redacted events (omit them from the response)
461
461
462
462
get_prev_content: If True and event is a state event,
463
463
include the previous states content in the unsigned field.
0 commit comments