1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 17:37:33 +01:00
Telegram/Watch/Extension/TGBotKeyboardButtonController.m

19 lines
389 B
Mathematica
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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