-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
72 additions
and
41 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// | ||
// Telegram.swift | ||
// Sticker | ||
// | ||
// Created by Gokulprasanth on 28/01/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct Thumb: Codable{ | ||
let fileId: String | ||
} | ||
|
||
struct Stickers: Codable { | ||
let emoji:String | ||
let fileId: String | ||
let thumb: Thumb | ||
} | ||
|
||
struct MetaDataResult: Codable { | ||
let isAnimated: Bool | ||
let title: String | ||
let name: String | ||
let stickers: [Stickers] | ||
} | ||
|
||
struct StickerMetadata: Codable { | ||
let ok: Bool | ||
let result: MetaDataResult | ||
} | ||
|
||
struct StickerDataResult: Codable{ | ||
let filePath: String | ||
} | ||
|
||
struct StickerData: Codable { | ||
let ok: Bool | ||
let result: StickerDataResult | ||
} |