mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 08:59:48 +01:00
19 lines
389 B
Objective-C
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
|