diff --git a/options.go b/options.go index fd83c6b..03411b6 100644 --- a/options.go +++ b/options.go @@ -89,6 +89,15 @@ func (o *OptionsBuilder) MessageOptions() *echotron.MessageOptions { } } +func (o *OptionsBuilder) MessageTextOptions() *echotron.MessageTextOptions { + return &echotron.MessageTextOptions{ + ReplyMarkup: o.replyMarkup.(echotron.InlineKeyboardMarkup), + ParseMode: o.parseMode, + Entities: o.entities, + DisableWebPagePreview: o.allowSendingWithoutReply, + } +} + func (o *OptionsBuilder) PhotoOptions() *echotron.PhotoOptions { return &echotron.PhotoOptions{ ReplyMarkup: o.replyMarkup,