mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Merge pull request #141 from SpriteOvO/fix-copy-message
Fix the incorrect response type of `CopyMessage` method
This commit is contained in:
commit
f116039876
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue