Java Code Examples for org.telegram.tgnet.TLRPC#BotInlineResult
The following examples show how to use
org.telegram.tgnet.TLRPC#BotInlineResult .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ContextLinkCell.java From Telegram with GNU General Public License v2.0 | 6 votes |
public void setLink(TLRPC.BotInlineResult contextResult, TLRPC.User bot, boolean media, boolean divider, boolean shadow, boolean forceGif) { needDivider = divider; needShadow = shadow; inlineBot = bot; parentObject = inlineResult = contextResult; if (inlineResult != null) { documentAttach = inlineResult.document; photoAttach = inlineResult.photo; } else { documentAttach = null; photoAttach = null; } mediaWebpage = media; isForceGif = forceGif; setAttachType(); if (forceGif) { documentAttachType = DOCUMENT_ATTACH_TYPE_GIF; } requestLayout(); updateButtonState(false, false); }
Example 2
Source File: ContextLinkCell.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
public void setLink(TLRPC.BotInlineResult contextResult, TLRPC.User bot, boolean media, boolean divider, boolean shadow, boolean forceGif) { needDivider = divider; needShadow = shadow; inlineBot = bot; parentObject = inlineResult = contextResult; if (inlineResult != null) { documentAttach = inlineResult.document; photoAttach = inlineResult.photo; } else { documentAttach = null; photoAttach = null; } mediaWebpage = media; isForceGif = forceGif; setAttachType(); if (forceGif) { documentAttachType = DOCUMENT_ATTACH_TYPE_GIF; } requestLayout(); updateButtonState(false, false); }
Example 3
Source File: ContextLinkCell.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public void setLink(TLRPC.BotInlineResult contextResult, boolean media, boolean divider, boolean shadow) { needDivider = divider; needShadow = shadow; inlineResult = contextResult; if (inlineResult != null && inlineResult.document != null) { documentAttach = inlineResult.document; } else { documentAttach = null; } mediaWebpage = media; setAttachType(); requestLayout(); updateButtonState(false); }
Example 4
Source File: ContextLinkCell.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public void setLink(TLRPC.BotInlineResult contextResult, boolean media, boolean divider, boolean shadow) { needDivider = divider; needShadow = shadow; inlineResult = contextResult; if (inlineResult != null && inlineResult.document != null) { documentAttach = inlineResult.document; } else { documentAttach = null; } mediaWebpage = media; setAttachType(); requestLayout(); updateButtonState(false); }
Example 5
Source File: ContextLinkCell.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
public void setLink(TLRPC.BotInlineResult contextResult, TLRPC.User bot, boolean media, boolean divider, boolean shadow) { setLink(contextResult, bot, media, divider, shadow, false); }
Example 6
Source File: ContextLinkCell.java From Telegram with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getResult() { return inlineResult; }
Example 7
Source File: ContextLinkCell.java From Telegram with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getBotInlineResult() { return inlineResult; }
Example 8
Source File: ContextLinkCell.java From Telegram with GNU General Public License v2.0 | 4 votes |
public void setLink(TLRPC.BotInlineResult contextResult, TLRPC.User bot, boolean media, boolean divider, boolean shadow) { setLink(contextResult, bot, media, divider, shadow, false); }
Example 9
Source File: MentionsAdapter.java From Telegram with GNU General Public License v2.0 | 4 votes |
public ArrayList<TLRPC.BotInlineResult> getSearchResultBotContext() { return searchResultBotContext; }
Example 10
Source File: ContextLinkCell.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getResult() { return inlineResult; }
Example 11
Source File: ContextLinkCell.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getBotInlineResult() { return inlineResult; }
Example 12
Source File: MentionsAdapter.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
public ArrayList<TLRPC.BotInlineResult> getSearchResultBotContext() { return searchResultBotContext; }
Example 13
Source File: ContextLinkCell.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getResult() { return inlineResult; }
Example 14
Source File: MentionsAdapter.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
public ArrayList<TLRPC.BotInlineResult> getSearchResultBotContext() { return searchResultBotContext; }
Example 15
Source File: ContextLinkCell.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
public TLRPC.BotInlineResult getResult() { return inlineResult; }
Example 16
Source File: MentionsAdapter.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
public ArrayList<TLRPC.BotInlineResult> getSearchResultBotContext() { return searchResultBotContext; }
Example 17
Source File: MentionsAdapter.java From TelePlus-Android with GNU General Public License v2.0 | votes |
void onContextClick(TLRPC.BotInlineResult result);
Example 18
Source File: MentionsAdapter.java From Telegram-FOSS with GNU General Public License v2.0 | votes |
void onContextClick(TLRPC.BotInlineResult result);
Example 19
Source File: MentionsAdapter.java From Telegram with GNU General Public License v2.0 | votes |
void onContextClick(TLRPC.BotInlineResult result);
Example 20
Source File: MentionsAdapter.java From TelePlus-Android with GNU General Public License v2.0 | votes |
void onContextClick(TLRPC.BotInlineResult result);