TelegramShare class

Constructors

TelegramShare()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Open a channel on Telegram app method. The method required an inviteLink of the channel.
openTelegramDirectMessage({required String username}) Future
Open a direct message on Telegram app method. The method required a username that you want to send message
sendMessageToTelegram({required String message}) Future
Send text message to Telegram method. The method required a message string.
shareFileToTelegram({required String? filePath, required String fileProviderPath, required AssetType fileType, String? dstPath, String? message}) Future
Share local file to Telegram platform.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited