Add wrapper types for various kinds of id
This commit is contained in:
parent
01a442c1f0
commit
748d6b7ded
5 changed files with 54 additions and 21 deletions
|
|
@ -94,7 +94,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
event.from, event.id, event.to
|
||||
),
|
||||
Data::SendEvent(event) => {
|
||||
println!("Message {} was just sent", event.0.id);
|
||||
println!("Message {} was just sent", event.0.id.0);
|
||||
|
||||
let content = event.0.content.trim();
|
||||
let mut reply = None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue