Documentation ¶
Index ¶
- func MakeChatPhoto(sizes []*mtproto.PhotoSize) *mtproto.ChatPhoto
- func MakeUserProfilePhoto(photoId int64, sizes []*mtproto.PhotoSize) *mtproto.UserProfilePhoto
- type PhotoModel
- func (m *PhotoModel) GetChatPhoto(photoId int64) (photo *mtproto.ChatPhoto)
- func (m *PhotoModel) GetPhoto(photoId int64) (photo *mtproto.Photo)
- func (m *PhotoModel) GetUserProfilePhoto(photoId int64) (photo *mtproto.UserProfilePhoto)
- func (m *PhotoModel) InstallModel()
- func (m *PhotoModel) RegisterCallback(cb interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeUserProfilePhoto ¶
func MakeUserProfilePhoto(photoId int64, sizes []*mtproto.PhotoSize) *mtproto.UserProfilePhoto
Types ¶
type PhotoModel ¶
type PhotoModel struct { }
func (*PhotoModel) GetChatPhoto ¶
func (m *PhotoModel) GetChatPhoto(photoId int64) (photo *mtproto.ChatPhoto)
func (*PhotoModel) GetUserProfilePhoto ¶
func (m *PhotoModel) GetUserProfilePhoto(photoId int64) (photo *mtproto.UserProfilePhoto)
func (*PhotoModel) InstallModel ¶
func (m *PhotoModel) InstallModel()
func (*PhotoModel) RegisterCallback ¶
func (m *PhotoModel) RegisterCallback(cb interface{})
Click to show internal directories.
Click to hide internal directories.