mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
401 B
Objective-C
16 lines
401 B
Objective-C
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface TGPhoneUtils : NSObject
|
|
|
|
+ (NSString *)formatPhone:(NSString *)phone forceInternational:(bool)forceInternational;
|
|
+ (NSString *)formatPhoneUrl:(NSString *)phone;
|
|
|
|
+ (NSString *)cleanPhone:(NSString *)phone;
|
|
+ (NSString *)cleanInternationalPhone:(NSString *)phone forceInternational:(bool)forceInternational;
|
|
|
|
+ (bool)maybePhone:(NSString *)phone;
|
|
|
|
@end
|