Swiftgram/Telegram/Watch/Extension/TGBotKeyboardButtonController.m
2020-02-19 18:44:10 +04: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