1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Watch/Bridge/TGBridgeLocationVenue+TGLocationVenue.m

19 lines
562 B
Mathematica
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGBridgeLocationVenue+TGLocationVenue.h"
#import "TGLocationVenue.h"
@implementation TGBridgeLocationVenue (TGLocationVenue)
+ (TGBridgeLocationVenue *)locationVenueWithTGLocationVenue:(TGLocationVenue *)venue
{
TGBridgeLocationVenue *bridgeVenue = [[TGBridgeLocationVenue alloc] init];
bridgeVenue->_coordinate = venue.coordinate;
bridgeVenue->_identifier = venue.identifier;
bridgeVenue->_provider = venue.provider;
bridgeVenue->_name = venue.name;
bridgeVenue->_address = venue.address;
return bridgeVenue;
}
@end