Telegram stickers importing Flutter plugin for iOS and Android

Overview

TelegramStickersImport — Telegram stickers importing Flutter plugin for iOS and Android

pub package

TelegramStickersImport helps your users import third-party programmatically created sticker sets into Telegram Messenger for iOS and Android.

This is not an official plugin!

Please read the full documentation here: https://core.telegram.org/import-stickers

WARNING: Each time a user imports stickers, a new sticker pack is created on Telegram. Do not use the importing feature to share stickers you made with other users. If you want to share your stickers, simply upload them using @stickers, then share the link of your pack. For example, here's a link to install some Duck Stickers.

Installation

Add telegram_stickers_import dependency to your pubspec.yaml

Android

No special installation required

iOS

Configure your Info.plist by right-clicking it in Project Navigator, choosing Open As > Source Code and adding this snippet:

<key>LSApplicationQueriesSchemes</key>
<array>
<string>tg</string>
</array>

Usage

To import a sticker set into Telegram, create a new sticker set and import it as follows:

final stickerSet = StickerSet(
    software: "My app",
    isAnimated: true,
    stickers: stickers,
);

TelegramStickersImport.import(stickerSet);

Android

For creating sticker data you should use StickerData.android method

To import stickers from android, you need to build the correct path to the files. The easiest way is to put the necessary files into the cache directory in the telegram_stickers_import folder.

You can get the path to the cache folder by calling getTemporaryDirectory() method of path_provider plugin. After that, just add stickers files to the telegram_stickers_import folder inside cache directory.

All the necessary settings for this folder have already been made by the plugin, and the Telegram will be able to receive your stickers without any problems.

In case if you want to use other paths, be sure to check out how to share files between applications correctly: https://developer.android.com/training/secure-file-sharing/setup-sharing

iOS

For creating sticker data you should use StickerData.iOS method

To import stickers from the iOS application, you just need to write the sticker content to Uint8List

Official repositories

You might also like...

A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.

A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.

Flutter AppAvailability Plugin A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed a

Dec 2, 2022

A lightweight Flutter plugin for making payments and printing on MyPos

my_poster 🚨 my_poster is in beta - please provide feedback (and/or contribute) if you find issues 💙️ A lightweight Flutter plugin for making payment

Oct 10, 2022

Flutter library for iOS Widgets Extensions. Integrate a Widget into your App 🍏📱

Flutter library for iOS Widgets Extensions. Integrate a Widget into your App 🍏📱

flutter_widgetkit Flutter Library for the iOS 🍏 WidgetKit framework and Widget Communication Table of Contents 📚 Introduction 👨‍🏫 Installation 🖇‍

Dec 31, 2022

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件

Flutter VPN plugin This plugin help developers to access VPN service in their flutter app. 本插件帮助开发者在自己的应用内调用 VPN 服务。 The Android part was implemented

Dec 28, 2022

Community WebView Plugin - Allows Flutter to communicate with a native WebView.

NOTICE We are working closely with the Flutter Team to integrate all the Community Plugin features in the Official WebView Plugin. We will try our bes

Jan 7, 2023

Use dynamic and beautiful card view pagers to help you create great apps.

Use dynamic and beautiful card view pagers to help you create great apps.

Use dynamic and beautiful card view pagers to help you create great apps. Preview New Feature v1.3.0 Change Alignment Left Center(Default) Right v1.4.

Dec 6, 2022

Library for help you make userbot or bot telegram and support tdlib telegram database and only support nodejs dart and google-apps-script

To-Do telegram client dart ✅️ support multi token ( bot / userbot ) ✅️ support bot and userbot ✅️ support telegram-bot-api local server ✅️ support tel

Jan 7, 2023

Telegram Info Sticker Importer can help you to move your favorite sticker packs from VK to Telegram

Telegram Info Sticker Importer Move stickers from VK to Telegram Building Setting up SDK Get Flutter SDK from the official website Run flutter doctor

Dec 11, 2022

A Flutter image editor with support for paint, text, filters, emojis, stickers and more

A Flutter image editor with support for paint, text, filters, emojis, stickers and more

Flutter Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.

Dec 22, 2022

Allows communication between your bot and the Web App built in Flutter displayed inside Telegram.

tele_web_app It enables communication between your bot and the Flutter-embedded Web App displayed inside Telegram by making use of interoperability be

Dec 8, 2022

Ftelegram - FTelegram - Telegram on Flutter

FTelegram - Telegram on Flutter! A Telegram android version, written on Flutter & Dart. With using TDlib and MTProto Getting Started This project is a

Jun 26, 2022

Helper Telegram bot for @tgtoadbot

Helper Telegram bot for @tgtoadbot

Телеграм хелпер-бот для @tgtoadbot Setup 1. Скопировать и отредактировать .env файл cp .env.sample .env 2. Проинициализировать mongo, добавить пользо

Dec 2, 2021

Telegram clone ❤️

telegram_clone Hello there, I tried to write clone of telegram in this application. I will prepare the whole design of telegram and present it to the

Oct 31, 2022

Telegram Animated Widget

telegram_widgets A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Jul 10, 2022

Test telegram bot written in dart using teledart package

Dart-Tg-Bot Test telegram bot written in dart using teledart package. Run on local machine First install dart Clone the bot's source and install depen

Oct 31, 2022

WooCommerce App template that uses Flutter. Integrated to work with WooCommerce stores, connect and create an IOS and Android app from Flutter for IOS and Android

WooCommerce App template that uses Flutter. Integrated to work with WooCommerce stores, connect and create an IOS and Android app from Flutter for IOS and Android

WooCommerce App: Label StoreMax Label StoreMax - v5.3.1 Official WooSignal WooCommerce App About Label StoreMax Label StoreMax is an App Template for

Jan 9, 2023

Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.

On most operating systems, permissions aren't just granted to apps at install time. Rather, developers have to ask the user for permissions while the

Jan 3, 2023
Releases(1.0.1)
Owner
Iurii Dorofeev
Iurii Dorofeev
Flutter Downloader - A plugin for creating and managing download tasks. Supports iOS and Android. Maintainer: @hnvn

Flutter Downloader A plugin for creating and managing download tasks. Supports iOS and Android. This plugin is based on WorkManager in Android and NSU

Flutter Community 789 Jan 3, 2023
File picker plugin for Flutter, compatible with both iOS & Android and desktop (go-flutter).

File Picker A package that allows you to use the native file explorer to pick single or multiple files, with extensions filtering support. Currently s

Miguel Ruivo 985 Jan 5, 2023
A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Flutter Location Plugin This plugin for Flutter handles getting location on Android and iOS. It also provides callbacks when location is changed. Gett

Guillaume Bernos 953 Dec 22, 2022
Flutter geolocation plugin for Android and iOS.

geolocation Flutter geolocation plugin for Android API 16+ and iOS 9+. Features: Manual and automatic location permission management Current one-shot

Loup 221 Dec 27, 2022
A Flutter plugin for displaying local notifications on Android, iOS and macOS

Flutter Local Notifications plugin This repository consists hosts the following packages flutter_local_notifications: code for the cross-platform faci

Michael Bui 2.1k Dec 30, 2022
Android and iOS Geolocation plugin for Flutter

Flutter Geolocator Plugin A Flutter geolocation plugin which provides easy access to platform specific location services (FusedLocationProviderClient

Baseflow 1k Jan 5, 2023
Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices

ar_flutter_plugin Flutter Plugin for AR (Augmented Reality) - Supports ARKit for iOS and ARCore for Android devices. Many thanks to Oleksandr Leuschen

Lars Carius 222 Jan 4, 2023
Plugin to retrieve a persistent UDID across app reinstalls on iOS and Android.

flutter_udid Plugin to retrieve a persistent UDID across app reinstalls on iOS and Android. Getting Started import 'package:flutter_udid/flutter_udid.

Leon Kukuk 183 Dec 21, 2022
Support to update the app badge on the launcher (both for Android and iOS)

Flutter App Badger plugin This plugin for Flutter adds the ability to change the badge of the app in the launcher. It supports iOS and some Android de

Edouard Marquez 258 Dec 25, 2022
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.

Flutter InAppWebView Plugin A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser windo

Lorenzo Pichilli 2.3k Jan 8, 2023