BotSettingInlineFeedback class
A setting for managing the share of chosen inline query results that are received by the bot in updateNewChosenInlineResult
- Inheritance
-
- Object
- TdObject
- BotSetting
- BotSettingInlineFeedback
- Available extensions
- Annotations
-
- @immutable
Constructors
- BotSettingInlineFeedback({})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shareDenominator Denominator of the share of chosen inline query results
that are received by the bot; the bot receives 1 out of share_denominator
chosen results. Must be one of 1, 10, 100, or 1000; pass 0 to stop
receiving chosen inline query results
final
Methods
-
copyWith(
{}) → BotSettingInlineFeedback -
Available on BotSettingInlineFeedback, provided by the BotSettingInlineFeedbackExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult isInline(BotSettingIsInline value), required TResult inlineQueryPlaceholder(BotSettingInlineQueryPlaceholder value), required TResult needLocation(BotSettingNeedLocation value), required TResult inlineFeedback(BotSettingInlineFeedback value), required TResult canJoinGroups(BotSettingCanJoinGroups value), required TResult canReadAllGroupMessages(BotSettingCanReadAllGroupMessages value), required TResult canConnectToBusiness(BotSettingCanConnectToBusiness value), required TResult canManageBots(BotSettingCanManageBots value), required TResult supportsGuestQueries(BotSettingSupportsGuestQueries value), required TResult isGuard(BotSettingIsGuard value), required TResult hasTopics(BotSettingHasTopics value), required TResult allowsUsersToCreateTopics(BotSettingAllowsUsersToCreateTopics value), required TResult hasTopicSidebar(BotSettingHasTopicSidebar value), required TResult canCommunicateWithBots(BotSettingCanCommunicateWithBots value), required TResult callbackQueryMode(BotSettingCallbackQueryMode value)}) → TResult -
Available on BotSetting, provided by the BotSettingExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult isInline(BotSettingIsInline value)?, TResult inlineQueryPlaceholder(BotSettingInlineQueryPlaceholder value)?, TResult needLocation(BotSettingNeedLocation value)?, TResult inlineFeedback(BotSettingInlineFeedback value)?, TResult canJoinGroups(BotSettingCanJoinGroups value)?, TResult canReadAllGroupMessages(BotSettingCanReadAllGroupMessages value)?, TResult canConnectToBusiness(BotSettingCanConnectToBusiness value)?, TResult canManageBots(BotSettingCanManageBots value)?, TResult supportsGuestQueries(BotSettingSupportsGuestQueries value)?, TResult isGuard(BotSettingIsGuard value)?, TResult hasTopics(BotSettingHasTopics value)?, TResult allowsUsersToCreateTopics(BotSettingAllowsUsersToCreateTopics value)?, TResult hasTopicSidebar(BotSettingHasTopicSidebar value)?, TResult canCommunicateWithBots(BotSettingCanCommunicateWithBots value)?, TResult callbackQueryMode(BotSettingCallbackQueryMode value)?, required TResult orElse()}) → TResult -
Available on BotSetting, provided by the BotSettingExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → BotSettingInlineFeedback? -
Inherited by:
BotSettingAllowsUsersToCreateTopics
BotSettingCallbackQueryMode
BotSettingCanCommunicateWithBots
BotSettingCanConnectToBusiness
BotSettingCanJoinGroups
BotSettingCanManageBots
BotSettingCanReadAllGroupMessages
BotSettingHasTopicSidebar
BotSettingHasTopics
BotSettingInlineFeedback
BotSettingInlineQueryPlaceholder
BotSettingIsGuard
BotSettingIsInline
BotSettingNeedLocation
BotSettingSupportsGuestQueries
override
Constants
- constructor → const String