1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Watch/Extension/TGBotKeyboardButtonController.m
2015-10-01 19:19:52 +03:00

19 lines
389 B
Objective-C

#import "TGBotKeyboardButtonController.h"
#import "TGBridgeBotReplyMarkup.h"
NSString *const TGBotKeyboardButtonRowIdentifier = @"TGBotKeyboardButton";
@implementation TGBotKeyboardButtonController
- (void)updateWithButton:(TGBridgeBotReplyMarkupButton *)button
{
self.textLabel.text = button.text;
}
+ (NSString *)identifier
{
return TGBotKeyboardButtonRowIdentifier;
}
@end