group_process_inbox_message

Receive a federated message by a group

Functions

async pydelfini.delfini_core.api.federation.group_process_inbox_message.asyncio(group_id, *, client, body)[source]

Receive a federated message by a group

This method is primarily for handling activities coming from federated sources. Users creating activities to perform actions on groups should post them to their own inbox with the proper addressing.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[Any]

Return type:

Any

async pydelfini.delfini_core.api.federation.group_process_inbox_message.asyncio_detailed(group_id, *, client, body)[source]

Receive a federated message by a group

This method is primarily for handling activities coming from federated sources. Users creating activities to perform actions on groups should post them to their own inbox with the proper addressing.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[Any, ServerError]]

Return type:

Response[Any | ServerError]

pydelfini.delfini_core.api.federation.group_process_inbox_message.sync(group_id, *, client, body)[source]

Receive a federated message by a group

This method is primarily for handling activities coming from federated sources. Users creating activities to perform actions on groups should post them to their own inbox with the proper addressing.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[Any]

Return type:

Any

pydelfini.delfini_core.api.federation.group_process_inbox_message.sync_detailed(group_id, *, client, body)[source]

Receive a federated message by a group

This method is primarily for handling activities coming from federated sources. Users creating activities to perform actions on groups should post them to their own inbox with the proper addressing.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[Any, ServerError]]

Return type:

Response[Any | ServerError]