MessageTextOptions
This commit is contained in:
parent
01d04199fd
commit
9298c6402b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue