telegram api method · layer 229 · #7fd736b2

stories.sendReaction

usable by users

React to a story.

definition

stories.sendReaction#7fd736b2 flags:# add_to_recent:flags.0?true peer:InputPeer story_id:int reaction:Reaction = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
add_to_recentflags.0?trueWhether to add this reaction to the recent reactions list ».
peerInputPeerThe peer that sent the story
story_idintID of the story to react to
reactionReactionReaction

returns

Updates

errors (7)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400PEER_ID_INVALIDThe provided peer id is invalid.
400REACTION_INVALIDThe specified reaction is invalid.
400STORIES_NEVER_CREATEDThis peer hasn't ever posted any stories.
400STORY_ID_EMPTYYou specified no story IDs.
400STORY_ID_INVALIDThe specified story ID is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 161–229 · constructor id changed 1×

idlayers
#49aaa9b3161–163
#7fd736b2164–229