options: add missed force reply option to the Placeholder

pull/425/head
Demian 3 years ago
parent 7a12453c8a
commit 3281935f9c

@ -35,7 +35,10 @@ const (
// Placeholder is used to set input field placeholder as a send option.
func Placeholder(text string) *SendOptions {
return &SendOptions{
ReplyMarkup: &ReplyMarkup{Placeholder: text},
ReplyMarkup: &ReplyMarkup{
ForceReply: true,
Placeholder: text,
},
}
}

Loading…
Cancel
Save