mirror of
https://github.com/tucnak/telebot
synced 2024-11-05 06:00:58 +00:00
options: add missed force reply option to the Placeholder
This commit is contained in:
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…
Reference in New Issue
Block a user