Class: TD::Types::PageBlock::Map

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/map.rb

Overview

A map.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#captionTD::Types::PageBlockCaption

Block caption.

Returns:



9
10
11
# File 'lib/tdlib/types/page_block/map.rb', line 9

def caption
  @caption
end

#heightInteger

Map height.

Returns:

  • (Integer)

    the current value of height



9
10
11
# File 'lib/tdlib/types/page_block/map.rb', line 9

def height
  @height
end

#locationTD::Types::Location

Location of the map center.

Returns:



9
10
11
# File 'lib/tdlib/types/page_block/map.rb', line 9

def location
  @location
end

#widthInteger

Map width.

Returns:

  • (Integer)

    the current value of width



9
10
11
# File 'lib/tdlib/types/page_block/map.rb', line 9

def width
  @width
end

#zoomInteger

Map zoom level.

Returns:

  • (Integer)

    the current value of zoom



9
10
11
# File 'lib/tdlib/types/page_block/map.rb', line 9

def zoom
  @zoom
end