Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 759 Bytes

ADDED_TO_SPACE_event.md

File metadata and controls

26 lines (24 loc) · 759 Bytes

ADDED_TO_SPACE event

Below is an example of the json sent by a bot for the ADDED_TO_SPACE event.

{
    'type': 'ADDED_TO_SPACE',
    'eventTime': '2023-04-24T14:09:57.877945Z',
    'user': {
        'name': 'users/112642549360622779129',
        'displayName': 'Shannon Thompson',
        'avatarUrl': 'https://lh3.googleusercontent.com/a/AGNmyxZCl43e3Iuhwhba4loLFX99HOIIgafA-0PYvVhh=k-no',
        'email': '[email protected]',
        'type': 'HUMAN',
        'domainId': '1hzekco'
    },
    'space': {
        'name': 'spaces/7IpBtkAAAAE',
        'type': 'DM',
        'singleUserBotDm': True,
        'spaceThreadingState': 'UNTHREADED_MESSAGES',
        'spaceType': 'DIRECT_MESSAGE',
        'spaceHistoryState': 'HISTORY_ON'
    }
}