SendQuickReplyShortcutMessages class final
SendQuickReplyShortcutMessages (sendQuickReplyShortcutMessages) - TDLib function
Sends messages from a quick reply shortcut. Requires Telegram Business subscription.
- chatId: Identifier of the chat to which to send messages. The chat must be a private chat with a regular user.
- shortcutId: Unique identifier of the quick reply shortcut.
- sendingId: Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates.
Messages is returned on completion.
- Inheritance
-
- Object
- TdFunction
- SendQuickReplyShortcutMessages
Constructors
- SendQuickReplyShortcutMessages({required int chatId, required int shortcutId, required int sendingId})
-
SendQuickReplyShortcutMessages (sendQuickReplyShortcutMessages) - TDLib function
const
Properties
- chatId → int
-
Identifier of the chat to which to send messages. The chat must be a private chat with a regular user
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendingId → int
-
Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates
final
- shortcutId → int
-
Unique identifier of the quick reply shortcut
final
Methods
-
copyWith(
{int? chatId, int? shortcutId, int? sendingId}) → SendQuickReplyShortcutMessages - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type