1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Bridge/TGBridgeLocationVenue+TGLocationVenue.m
2015-10-01 19:19:52 +03:00

19 lines
562 B
Objective-C

#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