Merge pull request #141 from SpriteOvO/fix-copy-message

Fix the incorrect response type of `CopyMessage` method
This commit is contained in:
Waffle Maybe 2021-12-07 00:28:25 +03:00 committed by GitHub
commit f116039876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -46,9 +46,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Throttle` adaptor not honouring chat/min limits ([#121][pr121])
- Make `SendPoll::poll_` optional ([#133][pr133])
- Bug with `caption_entities`, see issue [#473][issue473]
- Type of response for `CopyMessage` method ([#141](pr141))
[pr119]: https://github.com/teloxide/teloxide-core/pull/119
[pr133]: https://github.com/teloxide/teloxide-core/pull/133
[pr141]: https://github.com/teloxide/teloxide-core/pull/141
[issue473]: https://github.com/teloxide/teloxide/issues/473
## 0.3.3 - 2021-08-03

View file

@ -1,4 +1,7 @@
use serde::{Deserialize, Serialize};
/// This object represents a unique message identifier.
#[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)]
pub struct MessageId {
/// Unique message identifier
pub message_id: i32,