mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Add setters to MessageGroupChatCreated
This commit is contained in:
parent
8804b7df74
commit
203f2992d8
1 changed files with 7 additions and 1 deletions
|
@ -240,13 +240,19 @@ impl MessageDeleteChatPhoto {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
|
||||
#[non_exhaustive]
|
||||
pub struct MessageGroupChatCreated {
|
||||
/// Service message: the group has been created.
|
||||
pub group_chat_created: True,
|
||||
}
|
||||
|
||||
impl MessageGroupChatCreated {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[non_exhaustive]
|
||||
pub struct MessageSupergroupChatCreated {
|
||||
|
|
Loading…
Add table
Reference in a new issue