mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 17:37:33 +01:00
19 lines
389 B
Mathematica
19 lines
389 B
Mathematica
|
#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
|