options: add missed force reply option to the Placeholder

This commit is contained in:
Demian 2021-07-23 20:19:12 +03:00
parent 7a12453c8a
commit 3281935f9c

View File

@ -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,
},
}
}