Formatting size and position of reply element based on context type of media content
Aspects of the present disclosure involve a device comprising a computer-readable storage medium storing a program and method for providing contextual information with a keyboard interface. The program and method provide for receiving a media content item provided by a second device; displaying, on a screen of the device, the media content item together with a reply element, the reply element being user-selectable to generate a reply message with respect to the media content item; receiving user selection of the reply element; and in response to receiving the user selection, displaying, in a first preset area of the screen, a keyboard interface for user selection of text to include in the reply message, and displaying, in a second preset area of the screen, a context information interface which is user-selectable to provide information corresponding to at least one type of context associated with the media content item.
1 . A method, comprising:
receiving, by a device, a media content item associated with at least one type of context;
determining whether the at least one type of context corresponds to a prioritized type of context or to a non-prioritized type of context, the prioritized type of context and the non-prioritized type of context having been specified by an administrator;
displaying, on a screen of the device and upon determining that the at least one type of context corresponds to the prioritized type of context, the media content item together with a reply element having a first size in a first format and a context interaction element, the reply element being user-selectable to generate a reply message with respect to the media content item, the context interaction element being user-selectable to initiate user interaction with respect to the media content item; and
displaying, on the screen and upon determining that the at least one type of context corresponds to the non-prioritized type of context, the media content item together with the reply element having a second size in a second format which is larger and in a different position than the first format, the first size being smaller than the second size, without display of the context interaction element,
wherein the reply element is displayed at the first size and positioned in a bottom corner of the screen in the first format to prioritize interaction with the media content item via the context interaction element, when the media content item corresponds to the prioritized type of context,
wherein the reply element is displayed at the second size and positioned in a bottom center of the screen in the second format to prioritize generation of the reply message, when the media content item corresponds to the non-prioritized type of context,
wherein the prioritized type of context corresponds to commerce, a non-sponsored attachment, a game, or a user profile referenced within the media content item, and
wherein the non-prioritized type of context corresponds to an invitation to a group/event chat, an invitation to a private Story, music, an augmented reality content item, a venue, a sponsored attachment or a third-party application.
2 . The method of claim 1 , further comprising:
receiving user selection of the reply element; and
in response to receiving the user selection,
displaying, in a first preset area of the screen, a keyboard interface for user selection of message content to include in the reply message, and
displaying, in a second preset area of the screen, a context information interface for presenting predefined contextual information which corresponds to the at least one type of context and which relates to the media content item.
3 . The method of claim 2 , wherein the keyboard interface and the context information interface are displayed as overlays with respect to the media content item.
4 . The method of claim 2 , wherein the second preset area is positioned above the first preset area on the screen.
5 . The method of claim 2 , further comprising:
determining that the at least one type of context corresponds to multiple types of context; and
displaying, in response to the determining, the context information interface as multiple context cards.
6 . The method of claim 5 , wherein the multiple context cards are displayed as a stack of cards.
7 . The method of claim 6 , further comprising:
receiving user input corresponding to selection of the stack of cards; and
changing, in response to receiving the user input, display of the multiple context cards from the stack of cards to a row or column of cards, each card within the row or column being user-selectable to present supplemental information associated with the card.
8 . The method of claim 2 , further comprising:
determining that the at least one type of context is a single type of context to be represented by a single context card; and
displaying, in response to the determining, the context information interface as the single context card, which is user-selectable to present supplemental information associated with the single context card.
9 . The method of claim 2 , further comprising:
determining that the at least one type of context is a single type of context to be represented by multiple context cards; and
displaying, in response to the determining, the context information interface as the multiple context cards.
10 . The method of claim 9 , wherein the multiple context cards are displayed as a row or column of cards, each card within the row or column being user-selectable to present supplemental information associated with the card.
11 . The method of claim 1 , wherein the context interaction element, when user-selected, initiates a game session, a commerce transaction, or display of the user profile, corresponding to the prioritized type of context.
12 . The method of claim 1 , wherein the prioritized type of context corresponds to the game, and
wherein user selection of the context interaction element causes display of a context card that is user-selectable to initiate the game between a first user of the device and a second user associated with the media content item.
13 . A device, the device comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, configure the at least one processor to perform operations comprising:
receiving a media content item associated with at least one type of context;
determining whether the at least one type of context corresponds to a prioritized type of context or to a non-prioritized type of context, the prioritized type of context and the non-prioritized type of context having been specified by an administrator;
displaying, on a screen of the device and upon determining that the at least one type of context corresponds to the prioritized type of context, the media content item together with a reply element having a first size in a first format and a context interaction element, the reply element being user-selectable to generate a reply message with respect to the media content item, the context interaction element being user-selectable to initiate user interaction with respect to the media content item; and
displaying, on the screen and upon determining that the at least one type of context corresponds to the non-prioritized type of context, the media content item together with the reply element having a second size in a second format which is larger and in a different position than the first format, the first size being smaller than the second size, without display of the context interaction element,
wherein the reply element is displayed at the first size and positioned in a bottom corner of the screen in the first format to prioritize interaction with the media content item via the context interaction element, when the media content item corresponds to the prioritized type of context,
wherein the reply element is displayed at the second size and positioned in a bottom center of the screen in the second format to prioritize generation of the reply message, when the media content item corresponds to the non-prioritized type of context,
wherein the prioritized type of context corresponds to commerce, a non-sponsored attachment, a game, or a user profile referenced within the media content item, and
wherein the non-prioritized type of context corresponds to an invitation to a group/event chat, an invitation to a private Story, music, an augmented reality content item, a venue, a sponsored attachment or a third-party application.
14 . The device of claim 13 , further comprising:
receiving user selection of the reply element; and
in response to receiving the user selection,
displaying, in a first preset area of the screen, a keyboard interface for user selection of message content to include in the reply message, and
displaying, in a second preset area of the screen, a context information interface for presenting predefined contextual information which corresponds to the at least one type of context and which relates to the media content item.
15 . The device of claim 14 , wherein the keyboard interface and the context information interface are displayed as overlays with respect to the media content item.
16 . The device of claim 14 , wherein the second preset area is positioned above the first preset area on the screen.
17 . The device of claim 16 , further comprising:
determining that the at least one type of context corresponds to multiple types of context; and
displaying, in response to the determining, the context information interface as multiple context cards.
18 . The device of claim 17 , wherein the multiple context cards are displayed as a stack of cards.
19 . The device of claim 18 , further comprising:
receiving user input corresponding to selection of the stack of cards; and
changing, in response to receiving the user input, display of the multiple context cards from the stack of cards to a row or column of cards, each card within the row or column being user-selectable to present supplemental information associated with the card.
20 . A non-transitory computer-storage medium, the non-transitory computer-storage medium including instructions that when executed by a computer, cause the computer to perform operations comprising:
receiving, by a device, a media content item associated with at least one type of context;
determining whether the at least one type of context corresponds to a prioritized type of context or to a non-prioritized type of context, the prioritized type of context and the non-prioritized type of context having been specified by an administrator;
displaying, on a screen of the device and upon determining that the at least one type of context corresponds to the prioritized type of context, the media content item together with a reply element having a first size in a first format and a context interaction element, the reply element being user-selectable to generate a reply message with respect to the media content item, the context interaction element being user-selectable to initiate user interaction with respect to the media content item; and
displaying, on the screen and upon determining that the at least one type of context corresponds to the non-prioritized type of context, the media content item together with the reply element having a second size in a second format which is larger and in a different position than the first format, the first size being smaller than the second size, without display of the context interaction element,
wherein the reply element is displayed at the first size and positioned in a bottom corner of the screen in the first format to prioritize interaction with the media content item via the context interaction element, when the media content item corresponds to the prioritized type of context,
wherein the reply element is displayed at the second size and positioned in a bottom center of the screen in the second format to prioritize generation of the reply message, when the media content item corresponds to the non-prioritized type of context,
wherein the prioritized type of context corresponds to commerce, a non-sponsored attachment, a game, or a user profile referenced within the media content item, and
wherein the non-prioritized type of context corresponds to an invitation to a group/event chat, an invitation to a private Story, music, an augmented reality content item, a venue, a sponsored attachment or a third-party application.