Module: Telbe
- Defined in:
- lib/telbe/bot.rb,
lib/telbe/base.rb,
lib/telbe/chat.rb,
lib/telbe/poll.rb,
lib/telbe/user.rb,
lib/telbe/media.rb,
lib/telbe/inline.rb,
lib/telbe/contact.rb,
lib/telbe/sticker.rb,
lib/telbe/version.rb,
lib/telbe/webhook.rb,
lib/telbe/keyboard.rb,
lib/telbe/location.rb
Overview
The main module that agregates all classes
Defined Under Namespace
Classes: AddStickerToSetDescriptor, Animation, AnswerCallBackQueryDescriptor, AnswerInlineQueryDescriptor, Audio, Bot, CallbackQuery, Chat, ChatMember, ChatMemberDescriptor, ChatPhoto, ChosenInlineResult, Contact, ContactDescriptor, CreateNewStickerSetDescriptor, DeleteStickerFromSetDescriptor, Descriptor, Document, EditMessageLiveLocationDescriptor, File, ForceReply, ForwardMessageDescriptor, GetChatDescriptor, GetFileDescriptor, GetStickerSetDescriptor, GetUpdatesDescriptor, InlineKeyboardButton, InlineKeyboardLine, InlineKeyboardMarkup, InlineQuery, InlineQueryResult, InlineQueryResultArticle, InlineQueryResultAudio, InlineQueryResultCachedAudio, InlineQueryResultCachedDocument, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultGame, InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice, InputContactMessageContent, InputFile, InputLocationMessageContent, InputMedia, InputMediaAnimation, InputMediaAudio, InputMediaDocument, InputMediaPhoto, InputMediaVideo, InputMessageContent, InputVenueMessageContent, KeyboardButton, KeyboardButtons, KickChatMemberDescriptor, Location, MaskPosition, MediaDescriptor, Message, MessageDescriptor, MessageEntity, PhotoSize, PinChatMessageDescriptor, Poll, PollDescriptor, PollOption, PromoteChatMemberDescriptor, ReplyKeyboardMarkup, ReplyKeyboardRemove, ResponseError, RestrictChatMemberDescriptor, SendAnimationDescriptor, SendAudioDescriptor, SendChatActionDescriptor, SendDocumentDescriptor, SendLocationDescriptor, SendMediaGroupDescriptor, SendPhotoDescriptor, SendStickerDescriptor, SendVideoDescriptor, SendVideoNoteDescriptor, SendVoiceDescriptor, SetChatDescriptionDescriptor, SetChatPhotoDescriptor, SetChatStickerSetDescriptor, SetChatTitleDescriptor, SetStickerPositionInSetDescriptor, Sticker, StickerSet, StopMessageLivaLocationDescriptor, StopPollDescriptor, Update, UploadStickerFileDescriptor, User, UserProfilePhoto, UserProfilePhotos, Venue, Video, VideoNote, Voice, WebHookDescriptor, WebHookInfo
Constant Summary collapse
- CHAT_MEMBER_STATUS =
["creator", "administrator", "member", "restricted", "left", "kicked"]
- VERSION =
'0.0.9'
Instance Method Summary collapse
-
#GetUserProfilePhotosDescriptor ⇒ Object
user_id Integer Yes Unique identifier of the target user offset Integer Optional Sequential number of the first photo to be returned.
Instance Method Details
#GetUserProfilePhotosDescriptor ⇒ Object
user_id Integer Yes Unique identifier of the target user offset Integer Optional Sequential number of the first photo to be returned. By default, all photos are returned. limit Integer Optional Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
47 48 49 50 51 52 |
# File 'lib/telbe/user.rb', line 47 def GetUserProfilePhotosDescriptor include SimplifyApi attribute :user_id, Integer, mandatory: true attribute :offset, Integer attribute :limit, Integer end |