MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / SendLocation

Function SendLocation

Telegram/SourceFiles/api/api_sending.cpp:495–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495void SendLocation(SendAction action, float64 lat, float64 lon) {
496 SendSimpleMedia(
497 action,
498 MTP_inputMediaGeoPoint(
499 MTP_inputGeoPoint(
500 MTP_flags(0),
501 MTP_double(lat),
502 MTP_double(lon),
503 MTPint()))); // accuracy_radius
504}
505
506void SendVenue(SendAction action, Data::InputVenue venue) {
507 SendSimpleMedia(

Callers 1

ChooseAndSendLocationFunction · 0.85

Calls 3

SendSimpleMediaFunction · 0.85
MTP_flagsFunction · 0.85
MTP_doubleFunction · 0.85

Tested by

no test coverage detected