mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Add question_entities
field to Poll
struct
This commit is contained in:
parent
f2e96d808c
commit
5156210bfd
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ pub struct Poll {
|
||||||
/// Poll question, 1-300 characters.
|
/// Poll question, 1-300 characters.
|
||||||
pub question: String,
|
pub question: String,
|
||||||
|
|
||||||
|
/// Special entities that appear in the question. Currently, only custom
|
||||||
|
/// emoji entities are allowed in poll questions
|
||||||
|
pub question_entities: Option<Vec<MessageEntity>>,
|
||||||
|
|
||||||
/// List of poll options.
|
/// List of poll options.
|
||||||
pub options: Vec<PollOption>,
|
pub options: Vec<PollOption>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue