Available Methods
- User ( )
- Chat ( )
- Document ( )
- Message ( )
- EncryptedChat ( )
- StickerSetCovered ( )
- FileLocation ( )
- TL_decryptedMessageService ( )
- InputStickerSet ( )
- Dialog ( )
- ChatFull ( )
- PhotoSize ( )
- TL_encryptedChat ( )
- TL_account_password ( )
- TL_wallPaper ( )
- TL_messages_stickerSet ( )
- TL_account_getPassword ( )
- ChatParticipant ( )
- TL_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow ( )
- TL_messageMediaVenue ( )
- DocumentAttribute ( )
- ChannelParticipant ( )
- TL_peerUser ( )
- InputFileLocation ( )
- InputFile ( )
- TL_channelForbidden ( )
- TL_peerLocated ( )
- TL_dialog ( )
- TL_auth_sentCodeTypeApp ( )
- TL_documentAttributeSticker ( )
- TL_auth_sentCodeTypeFlashCall ( )
- TL_decryptedMessageActionSetMessageTTL ( )
- TL_channels_checkUsername ( )
- TL_messageMediaPoll ( )
- TL_chatBannedRights ( )
- TL_chatEmpty ( )
- WebPage ( )
- TL_messages_getAttachedStickers ( )
- TL_chatFull ( )
- TL_decryptedMessageActionScreenshotMessages ( )
- StickerSet ( )
- TL_secureFile ( )
- TL_contact ( )
- TL_chatForbidden ( )
- TL_channelFull ( )
- TL_inputPeerEmpty ( )
- TL_labeledPrice ( )
- TL_messageActionPhoneCall ( )
- TL_document ( )
- TL_chatParticipantCreator ( )
- TL_auth_codeTypeCall ( )
- TL_phoneConnection ( )
- TL_documentAttributeFilename ( )
- TL_inputGeoPoint ( )
- TL_help_acceptTermsOfService ( )
- TL_account_getAuthorizationForm ( )
- TL_shippingOption ( )
- TL_contacts_resolveUsername ( )
- BotInlineResult ( )
- TL_payments_validatedRequestedInfo ( )
- TL_messageMediaEmpty ( )
- TL_inputStickeredMediaPhoto ( )
- TL_auth_sentCode ( )
- TL_auth_sentCodeTypeCall ( )
- KeyboardButton ( )
- TL_inputPeerChannel ( )
- TL_autoDownloadSettings ( )
- TL_channels_getParticipants ( )
- TL_messages_exportChatInvite ( )
- TL_messages_search ( )
- TL_payments_validateRequestedInfo ( )
- InputEncryptedFile ( )
- InputPeer ( )
- TL_phoneCallDiscardReasonDisconnect ( )
- TL_messageEncryptedAction ( )
- TL_inputPeerPhotoFileLocation ( )
- TL_channel ( )
- TL_replyInlineMarkup ( )
- TL_photoSize ( )
- TL_help_appUpdate ( )
- TL_maskCoords ( )
- TL_inputPhoneCall ( )
- TL_inputStickerSetEmpty ( )
- TL_inputChannelEmpty ( )
- TL_messageService ( )
- TL_inputPaymentCredentialsAndroidPay ( )
- TL_decryptedMessageActionDeleteMessages ( )
- PrivacyRule ( )
- TL_dialogFilterSuggested ( )
- TL_account_checkUsername ( )
- TL_account_updateProfile ( )
- TL_photoEmpty ( )
- TL_auth_codeTypeSms ( )
- TL_phone_discardCall ( )
- TL_privacyValueDisallowAll ( )
- TL_passwordKdfAlgoUnknown ( )
- TL_channelParticipantsAdmins ( )
- TL_inputMessagesFilterMusic ( )
- TL_account_sendConfirmPhoneCode ( )
- TL_inputDocument ( )
- TL_channels_inviteToChannel ( )
- TL_messages_discardEncryption ( )
- TL_chatPhoto ( )
- MessageMedia ( )
- TL_phone_receivedCall ( )
- TL_encryptedChatRequested ( )
- TL_inputPeerUser ( )
- TL_messages_getRecentLocations ( )
- TL_auth_resendCode ( )
- BotInfo ( )
- TL_documentAttributeAudio ( )
- TL_messages_createChat ( )
- TL_channels_joinChannel ( )
- TL_dataJSON ( )
- TL_upload_getCdnFileHashes ( )
- TL_userDeleted_old2 ( )
- TL_inputCheckPasswordSRP ( )
- TL_contacts_getStatuses ( )
- TL_fileLocationToBeDeprecated ( )
- TL_userEmpty ( )
- TL_channels_getAdminLog ( )
- TL_message ( )
- TL_inputPaymentCredentialsSaved ( )
- TL_channelAdminLogEventsFilter ( )
- TL_messages_startBot ( )
- TL_payments_sendPaymentForm ( )
- TL_channels_createChannel ( )
- TL_inputFileLocation ( )
- TL_channelParticipantAdmin ( )
- TL_payments_paymentForm ( )
- DecryptedMessageAction ( )
- TL_inputEncryptedFileLocation ( )
Related Classes
- java.io.File
- java.util.Collections
- android.os.Bundle
- android.content.Context
- android.view.View
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.net.Uri
- android.graphics.Canvas
- android.text.TextUtils
- android.view.MotionEvent
- android.graphics.drawable.Drawable
- android.widget.LinearLayout
- android.content.SharedPreferences
- android.widget.FrameLayout
- android.view.Gravity
- android.util.TypedValue
- android.graphics.PorterDuff
- android.animation.ObjectAnimator
- androidx.recyclerview.widget.RecyclerView
- androidx.recyclerview.widget.LinearLayoutManager
Java Code Examples for org.telegram.tgnet.TLRPC#TL_dialogFilterSuggested
The following examples show how to use
org.telegram.tgnet.TLRPC#TL_dialogFilterSuggested .
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: FiltersSetupActivity.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
public void setFilter(TLRPC.TL_dialogFilterSuggested filter, boolean divider) { needDivider = divider; suggestedFilter = filter; setWillNotDraw(!needDivider); textView.setText(filter.filter.title); valueTextView.setText(filter.description); }
Example 2
Source File: FiltersSetupActivity.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
private void updateRows(boolean notify) { recommendedHeaderRow = -1; recommendedStartRow = -1; recommendedEndRow = -1; recommendedSectionRow = -1; ArrayList<TLRPC.TL_dialogFilterSuggested> suggestedFilters = getMessagesController().suggestedFilters; rowCount = 0; filterHelpRow = rowCount++; int count = getMessagesController().dialogFilters.size(); if (!suggestedFilters.isEmpty() && count < 10) { recommendedHeaderRow = rowCount++; recommendedStartRow = rowCount; rowCount += suggestedFilters.size(); recommendedEndRow = rowCount; recommendedSectionRow = rowCount++; } if (count != 0) { filtersHeaderRow = rowCount++; filtersStartRow = rowCount; rowCount += count; filtersEndRow = rowCount; } else { filtersHeaderRow = -1; filtersStartRow = -1; filtersEndRow = -1; } if (count < 10) { createFilterRow = rowCount++; } else { createFilterRow = -1; } createSectionRow = rowCount++; if (notify && adapter != null) { adapter.notifyDataSetChanged(); } }
Example 3
Source File: FiltersSetupActivity.java From Telegram with GNU General Public License v2.0 | 5 votes |
public void setFilter(TLRPC.TL_dialogFilterSuggested filter, boolean divider) { needDivider = divider; suggestedFilter = filter; setWillNotDraw(!needDivider); textView.setText(filter.filter.title); valueTextView.setText(filter.description); }
Example 4
Source File: FiltersSetupActivity.java From Telegram with GNU General Public License v2.0 | 5 votes |
private void updateRows(boolean notify) { recommendedHeaderRow = -1; recommendedStartRow = -1; recommendedEndRow = -1; recommendedSectionRow = -1; ArrayList<TLRPC.TL_dialogFilterSuggested> suggestedFilters = getMessagesController().suggestedFilters; rowCount = 0; filterHelpRow = rowCount++; int count = getMessagesController().dialogFilters.size(); if (!suggestedFilters.isEmpty() && count < 10) { recommendedHeaderRow = rowCount++; recommendedStartRow = rowCount; rowCount += suggestedFilters.size(); recommendedEndRow = rowCount; recommendedSectionRow = rowCount++; } if (count != 0) { filtersHeaderRow = rowCount++; filtersStartRow = rowCount; rowCount += count; filtersEndRow = rowCount; } else { filtersHeaderRow = -1; filtersStartRow = -1; filtersEndRow = -1; } if (count < 10) { createFilterRow = rowCount++; } else { createFilterRow = -1; } createSectionRow = rowCount++; if (notify && adapter != null) { adapter.notifyDataSetChanged(); } }
Example 5
Source File: FiltersSetupActivity.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
public TLRPC.TL_dialogFilterSuggested getSuggestedFilter() { return suggestedFilter; }
Example 6
Source File: FiltersSetupActivity.java From Telegram with GNU General Public License v2.0 | 4 votes |
public TLRPC.TL_dialogFilterSuggested getSuggestedFilter() { return suggestedFilter; }