Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Handling incoming location #331

@mikkhait

Description

@mikkhait

We need a way of consistently handling incoming location. I've tested it across mobile apps for Messenger and Telegram, I'm sure others will need this too

Given mobile Messenger app
When I send my location attachment
Then I get
attachments: [ { contentType: 'location' } ]

Given mobile Telegram app
When I send my location attachment
Then I get

attachments: [],
location: 
   { altitude: 0,
     latitude: 32.403613,
     longitude: -131.94175,
     name: '' }

Expected (suggestion)

attachments: [
  { contentType: 'location',
    payload: 
    { altitude: 0,
      latitude: 32.403613,
       longitude: -131.94175,
       name: ''
    }
  }
]

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions