mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Change id
type in BusinessConnection
to BusinessConnectionId
This commit is contained in:
parent
e10af95add
commit
f4fc11a011
1 changed files with 2 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
|||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::types::{User, UserId};
|
||||
use crate::types::{BusinessConnectionId, User, UserId};
|
||||
|
||||
/// Describes the connection of the bot with a business account.
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BusinessConnection {
|
||||
/// Unique identifier of the business connection
|
||||
pub id: String,
|
||||
pub id: BusinessConnectionId,
|
||||
|
||||
/// Business account user that created the business connection
|
||||
pub user: User,
|
||||
|
|
Loading…
Reference in a new issue